16 lines
244 B
GDScript
16 lines
244 B
GDScript
extends Node
|
|
class_name State
|
|
|
|
signal transitioned(state: State, new_state_name: String)
|
|
|
|
func _enter() -> void:
|
|
pass
|
|
|
|
func _exit() -> void:
|
|
pass
|
|
|
|
func _update(_delta: float) -> void:
|
|
pass
|
|
|
|
func _physics_update(_delta: float) -> void:
|
|
pass
|