diff --git a/echo/data/Types.hx b/echo/data/Types.hx index 0f25d2c..8315c05 100644 --- a/echo/data/Types.hx +++ b/echo/data/Types.hx @@ -1,17 +1,17 @@ package echo.data; -@:enum abstract MassType(Float) from Float to Float { +enum abstract MassType(Float) from Float to Float { var AUTO = -1; var STATIC = 0; } -@:enum abstract ShapeType(Int) from Int to Int { +enum abstract ShapeType(Int) from Int to Int { var RECT; var CIRCLE; var POLYGON; } -@:enum abstract ForceType(Int) from Int to Int { +enum abstract ForceType(Int) from Int to Int { var ACCELERATION; var VELOCITY; var POSITION; diff --git a/echo/util/Bezier.hx b/echo/util/Bezier.hx index 09a7e07..6819d1d 100644 --- a/echo/util/Bezier.hx +++ b/echo/util/Bezier.hx @@ -600,7 +600,7 @@ class Bezier implements Disposable { } } -@:enum abstract BezierCurve(Int) to Int from Int { +enum abstract BezierCurve(Int) to Int from Int { var Linear = 1; var Quadratic = 2; var Cubic = 3;