aboutsummaryrefslogtreecommitdiff
path: root/source/levels
diff options
context:
space:
mode:
Diffstat (limited to 'source/levels')
-rw-r--r--source/levels/Level1.hx22
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);
+ }
+}