import the woofer
This commit is contained in:
parent
825fee53e2
commit
3e89acfea8
92 changed files with 5783 additions and 0 deletions
13
addons/godot_state_charts/guard.gd
Normal file
13
addons/godot_state_charts/guard.gd
Normal file
|
@ -0,0 +1,13 @@
|
|||
@icon("guard.svg")
|
||||
class_name Guard
|
||||
extends Resource
|
||||
|
||||
## Returns true if the guard is satisfied, false otherwise.
|
||||
func is_satisfied(context_transition:Transition, context_state:StateChartState) -> bool:
|
||||
push_error("Guard.is_satisfied() is not implemented. Did you forget to override it?")
|
||||
return false
|
||||
|
||||
## Returns the triggers which should trigger the guard's evaluation. This is a bit mask of [StateChart.TriggerType].
|
||||
func get_supported_trigger_types() -> int:
|
||||
push_error("Guard._get_supported_trigger_types() is not implemented. Did you forget to override it?")
|
||||
return StateChart.TriggerType.NONE
|
Loading…
Add table
Add a link
Reference in a new issue