Fix travis CI again

This commit is contained in:
2021-06-07 13:17:46 -06:00
parent 9f6c76562c
commit 33613baf8f
21 changed files with 20 additions and 19 deletions

View File

@@ -0,0 +1,26 @@
package;
import flixel.FlxState;
import asciilib.Game;
import asciilib.backends.flixel.*;
import flixel.graphics.FlxGraphic;
class PlayState extends FlxState
{
var game:Game;
override public function create()
{
super.create();
game = new Game("Ascii Game", 40, 24, 8, 12, new AsciiGameLogic(), new FlxAssetsBackend(),
new FlxGraphicsBackend(this, FlxGraphic.fromAssetKey("assets/images/size12.png"),
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz,.;:/?!@#$%^&*()-_=+[]{}~ÁÉÍÑÓÚÜáéíñóúü¡¿0123456789\"'<>|"));
}
override public function update(elapsed:Float)
{
super.update(elapsed);
game.update(elapsed);
game.draw();
}
}