ft (Wip): FSM behaviour prey
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
extends NPC2D
|
||||
class_name AbstractPrey2D
|
||||
|
||||
enum States {IDLE, FORAGING, FLEEING}
|
||||
var state = States.IDLE
|
||||
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready() -> void:
|
||||
pass # Replace with function body.
|
||||
|
||||
Reference in New Issue
Block a user