aboutsummaryrefslogtreecommitdiff
path: root/source/Player.hx
diff options
context:
space:
mode:
Diffstat (limited to 'source/Player.hx')
-rw-r--r--source/Player.hx13
1 files changed, 13 insertions, 0 deletions
diff --git a/source/Player.hx b/source/Player.hx
new file mode 100644
index 0000000..80c3f78
--- /dev/null
+++ b/source/Player.hx
@@ -0,0 +1,13 @@
+package;
+
+import flixel.FlxSprite;
+import flixel.util.FlxColor;
+
+class Player extends FlxSprite
+{
+ public function new(x:Float = 0, y:Float = 0)
+ {
+ super(x, y);
+ loadGraphic("assets/images/player.png");
+ }
+}