ft: predator mostly done
This commit is contained in:
@@ -40,3 +40,9 @@ func _transition_to_next_state(target_path: String, data: Dictionary = {}) -> vo
|
||||
|
||||
func transition_to_next_state(target: int, data: Dictionary = {}) -> void:
|
||||
push_error("Child FSM failed to implement transition function.")
|
||||
|
||||
# maps child node name to States enum
|
||||
# requires the recursive stap as push_error does not count as a valid return value.
|
||||
func map(state: Node) -> int:
|
||||
push_error("Child FSM failed to implement map function.")
|
||||
return -1
|
||||
|
||||
Reference in New Issue
Block a user