diff options
author | Indrajith K L | 2022-03-22 02:20:02 +0530 |
---|---|---|
committer | Indrajith K L | 2022-03-22 02:20:02 +0530 |
commit | f5e60ac6142f5f3d71f5a6edc581094df840f12e (patch) | |
tree | 68b7071b9862082ce3d0943b8b1f76744e411642 /source/levels | |
download | YEAD-haxe-f5e60ac6142f5f3d71f5a6edc581094df840f12e.tar.gz YEAD-haxe-f5e60ac6142f5f3d71f5a6edc581094df840f12e.tar.bz2 YEAD-haxe-f5e60ac6142f5f3d71f5a6edc581094df840f12e.zip |
Initial Commit
* Basic Entity System Implemented
Diffstat (limited to 'source/levels')
-rw-r--r-- | source/levels/Level1.hx | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/source/levels/Level1.hx b/source/levels/Level1.hx new file mode 100644 index 0000000..1bf927f --- /dev/null +++ b/source/levels/Level1.hx @@ -0,0 +1,22 @@ +package levels; + +import core.entities.Player; +import core.entities.Sekeleton.Skeleton; +import flixel.FlxState; + +class Level1 extends FlxState +{ + override public function create() + { + super.create(); + add(new Player(12, 12)); + add(new Skeleton(0, 1)); + add(new Skeleton(12, 32)); + add(new Skeleton(56, 12)); + } + + override public function update(dt:Float) + { + super.update(dt); + } +} |