new stuff

This commit is contained in:
Yoshman29
2022-12-31 04:11:50 +01:00
parent 8b6717eeb9
commit c953825216
6 changed files with 30 additions and 6 deletions
+7
View File
@@ -351,4 +351,11 @@ class CoolUtil
spr.antialiasing = FlxSprite.defaultAntialiasing;
spr.rotOffset.set();
}
/**
* Gets the macro class created by hscript-improved for an abstract / enum
*/
public static function getMacroAbstractClass(className:String) {
return Type.resolveClass('${className}_HSC');
}
}