17 lines
229 B
GDScript
17 lines
229 B
GDScript
class_name State
|
|
extends Node
|
|
|
|
signal transition(new_state_name: StringName)
|
|
|
|
func enter() -> void:
|
|
pass
|
|
|
|
func exit() -> void:
|
|
pass
|
|
|
|
func update(_delta: float) -> void:
|
|
pass
|
|
|
|
func physics_update(_delta: float) -> void:
|
|
pass
|