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/core/entities/Sekeleton.hx | |
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/core/entities/Sekeleton.hx')
-rw-r--r-- | source/core/entities/Sekeleton.hx | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/source/core/entities/Sekeleton.hx b/source/core/entities/Sekeleton.hx new file mode 100644 index 0000000..b5039b2 --- /dev/null +++ b/source/core/entities/Sekeleton.hx @@ -0,0 +1,20 @@ +package core.entities; + +import core.enums.EnityTypes.EntityType; +import flixel.util.FlxColor; +import utils.Debug; + +class Skeleton extends Entity +{ + public function new(x:Float, y:Float) + { + super(x, y, EntityType.ENEMY); + makeGraphic(16, 16, FlxColor.RED); + Debug.log("Skeleton Spawned"); + } + + override public function update(dt:Float) + { + super.update(dt); + } +} |