added enemy state machine with idle, stunned, and dead states

This commit is contained in:
derek
2025-04-21 16:41:16 -05:00
parent 423feb8fc3
commit ca81947325
20 changed files with 1289 additions and 539 deletions

16
scripts/State.gd Normal file
View File

@@ -0,0 +1,16 @@
extends Node
class_name State
signal Transitioned
func Enter():
pass
func Exit():
pass
func Update(_delta : float):
pass
func Physics_Update(_delta : float):
pass