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