- Introduced explicit typing to variables and functions across multiple scripts for better code clarity. - Specified 'void' as the return type for functions that do not return a value. - Removed redundant code in some scripts.
15 lines
222 B
GDScript
15 lines
222 B
GDScript
@icon("res://resources/icons/fsm.png")
|
|
extends Node
|
|
class_name State
|
|
|
|
signal state_transition
|
|
|
|
func enter(_msg : Dictionary = {}) -> void:
|
|
pass
|
|
|
|
func exit() -> void :
|
|
pass
|
|
|
|
func update(_delta : float) -> void:
|
|
pass
|
|
|