summaryrefslogtreecommitdiff
path: root/Scenes/Entities/Enemies/Slime.gd
diff options
context:
space:
mode:
Diffstat (limited to 'Scenes/Entities/Enemies/Slime.gd')
-rw-r--r--Scenes/Entities/Enemies/Slime.gd11
1 files changed, 11 insertions, 0 deletions
diff --git a/Scenes/Entities/Enemies/Slime.gd b/Scenes/Entities/Enemies/Slime.gd
new file mode 100644
index 0000000..427b18f
--- /dev/null
+++ b/Scenes/Entities/Enemies/Slime.gd
@@ -0,0 +1,11 @@
+extends CharacterBody2D
+
+
+func _ready():
+ add_to_group("enemies")
+
+ get_node("Collision").init()
+
+
+func _physics_process(delta):
+ get_node("Movement").physics_process(delta)