21 lines
284 B
GDScript
21 lines
284 B
GDScript
extends Node
|
|
|
|
class_name State
|
|
|
|
@export var state_id: String = ""
|
|
|
|
@warning_ignore("unused_signal")
|
|
signal transitioned(state, new_state_name)
|
|
|
|
func enter() -> void:
|
|
pass
|
|
|
|
func exit() -> void:
|
|
pass
|
|
|
|
func update(_delta) -> void:
|
|
pass
|
|
|
|
func physics_update(_delta) -> void:
|
|
pass
|