More work on registering via FSM
This commit is contained in:
@@ -17,7 +17,7 @@ func _process(delta: float) -> void:
|
||||
wait_remaining -= delta
|
||||
if wait_remaining <= 0:
|
||||
wait_remaining = 0
|
||||
employee.interact(self, interaction_args[0])
|
||||
employee.interact(actor, interaction_args[0])
|
||||
complete_state()
|
||||
|
||||
func execute(subject, ...args : Array) -> void:
|
||||
|
||||
@@ -17,7 +17,7 @@ func advance_state() -> void:
|
||||
pass
|
||||
"Queue":
|
||||
enter_state(states["Wait"])
|
||||
args.append_array(["busy", "Register"])
|
||||
args.append_array(["busy", "Interact With Employee"])
|
||||
"Register":
|
||||
enter_state(states["Register"])
|
||||
"Leave":
|
||||
|
||||
Reference in New Issue
Block a user