ft: nucleotide prey FSM

This commit is contained in:
2026-01-26 23:54:15 +01:00
parent c11afd9ddd
commit adf1438bc8
18 changed files with 121 additions and 45 deletions

View File

@@ -1,9 +1,6 @@
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: