Skip to content

Commit

Permalink
fix other enums
Browse files Browse the repository at this point in the history
  • Loading branch information
RblSb committed Feb 14, 2024
1 parent 5f78de7 commit a561f4e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions echo/data/Types.hx
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
2 changes: 1 addition & 1 deletion echo/util/Bezier.hx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a561f4e

Please sign in to comment.