mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2024-11-23 16:17:53 -05:00
13 lines
375 B
Haxe
13 lines
375 B
Haxe
package funkin.modding;
|
|
|
|
import polymod.hscript.HScriptable;
|
|
|
|
/**
|
|
* Add this interface to a class to make it a scriptable object.
|
|
* Functions annotated with @:hscript will call the relevant script.
|
|
*/
|
|
@:hscript({
|
|
// ALL of these values are added to ALL scripts in the child classes.
|
|
context: [FlxG, FlxSprite, Math, Paths, Std]
|
|
})
|
|
interface IHook extends HScriptable {}
|