Restructure to use more strategy/GOAP pattern

This commit is contained in:
2026-11-06 21:08:21 -06:00
parent 324a01c165
commit 90370b8837
10 changed files with 64 additions and 21 deletions
@@ -0,0 +1,21 @@
class_name StrategyStack extends Node
func _init() -> void:
tree_entered.connect(add_action)
tree_exited.connect(remove_action)
func add_action() -> void:
pass
func remove_action() -> void:
pass
func process_action(jet: Jet) -> void:
var action = get_child(0)
if not action: return
action.do(jet)