First commit

This commit is contained in:
2021-03-07 05:58:59 +01:00
commit 8204c6b556
18475 changed files with 3309357 additions and 0 deletions

28
hGameTest/src/App.hx Normal file
View File

@@ -0,0 +1,28 @@
import openfl.display.Sprite;
import openfl.display.Stage;
import openfl.events.Event;
class App extends Sprite {
public function new () {
super ();
var game:Game = new Game(stage);
game.onInit();
stage.addEventListener(Event.ENTER_FRAME, game.onEnterFrame);
}
static function main () {
var stage = new Stage (550, 400, 0xFFFFFF, App);
js.Browser.document.body.appendChild (stage.element);
}
}