Skip to content

Commit

Permalink
Don't use the deprecated @:enum abstract.
Browse files Browse the repository at this point in the history
  • Loading branch information
qlambert-pro committed Oct 11, 2023
1 parent 144e494 commit e834da3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/dn/legacy/GamePad.hx
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
package dn.legacy;

#if (haxe_ver >= 4)
enum
#else
@:enum
#end
abstract PadKey(Int) {
var A = 0;
var B = 1;
Expand Down

0 comments on commit e834da3

Please sign in to comment.