Skip to content

Instantly share code, notes, and snippets.

@KinoAR
Last active January 14, 2021 01:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KinoAR/d9321d718a07f233462572006b90d396 to your computer and use it in GitHub Desktop.
Save KinoAR/d9321d718a07f233462572006b90d396 to your computer and use it in GitHub Desktop.
Tag examples in Haxe.
//In the output although the class is called ScenePause in Haxe, it will be LunaScenePause in the JS output.
@:native('LunaScenePause')
@:expose
class ScenePause extends Scene_MenuBase {
public var pauseTitleWindow: WindowTitle;
public var pauseMenuWindow: WindowPauseMenu;
public var pauseConfirmWindow: WindowConfirmMenu;
public override function create() {
this.createWindowLayer();
this.createAllWindows();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment