From ffd6706cb02fdd37f5f461a37287a5860e69fb6c Mon Sep 17 00:00:00 2001 From: Indrajith K L Date: Mon, 29 Jun 2020 03:14:32 +0530 Subject: :tada: Initial Commit * Integrates Colyseus Server * Implements Basic Player movement * Player Remove/Update Events --- source/Player.hx | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 source/Player.hx (limited to 'source/Player.hx') 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"); + } +} -- cgit v1.2.3