summaryrefslogtreecommitdiff
path: root/Scenes/MonsterIdle.gd
diff options
context:
space:
mode:
authorHenrique Alves <henriquelalves@gmail.com>2022-07-16 16:15:20 -0300
committerHenrique Alves <henriquelalves@gmail.com>2022-07-16 16:15:20 -0300
commitfda99f4220dd9394b5f377991c76aecc00553443 (patch)
treef05b97aeb600e409b6992f0f20208d3366df0386 /Scenes/MonsterIdle.gd
parentfb6c3986e8b7c636d14703b028da7095c272a6b4 (diff)
downloadgamejam-gmtk-2022-fda99f4220dd9394b5f377991c76aecc00553443.tar.gz
gamejam-gmtk-2022-fda99f4220dd9394b5f377991c76aecc00553443.tar.bz2
gamejam-gmtk-2022-fda99f4220dd9394b5f377991c76aecc00553443.zip
Add monsters
Diffstat (limited to 'Scenes/MonsterIdle.gd')
-rw-r--r--Scenes/MonsterIdle.gd6
1 files changed, 6 insertions, 0 deletions
diff --git a/Scenes/MonsterIdle.gd b/Scenes/MonsterIdle.gd
new file mode 100644
index 0000000..6974aa7
--- /dev/null
+++ b/Scenes/MonsterIdle.gd
@@ -0,0 +1,6 @@
+extends Monster
+
+func try_moving(player_pos : Vector2, monster_pos : Vector2) -> MonsterAction:
+ var action = MonsterAction.new()
+ action.type = MonsterActionType.IDLE
+ return action