rename habit puzzle game again for testing
This commit is contained in:
17
projects/flixel-desktop-habit-puzzle-game/source/Main.hx
Normal file
17
projects/flixel-desktop-habit-puzzle-game/source/Main.hx
Normal file
@@ -0,0 +1,17 @@
|
||||
package;
|
||||
|
||||
import flixel.FlxG;
|
||||
import flixel.FlxGame;
|
||||
import openfl.display.Sprite;
|
||||
|
||||
class Main extends Sprite
|
||||
{
|
||||
public function new()
|
||||
{
|
||||
super();
|
||||
addChild(new FlxGame(0, 0, HabitState, 1, 60, 60, true));
|
||||
var t:HabitState = cast FlxG.state;
|
||||
t.setModel(new HabitModel(Sys.args()[0]));
|
||||
t.model.save();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user