Files
Super-Mario-Bros.-Remastere…/Scripts/Classes/States/State.gd
2025-09-13 16:30:32 +01:00

20 lines
290 B
GDScript
Executable File

class_name State
extends Node
signal state_entered
signal state_exited
@onready var state_machine: StateMachine = get_parent()
func enter(_msg := {}) -> void:
pass
func exit() -> void:
pass
func physics_update(_delta: float) -> void:
pass
func update(_delta: float) -> void:
pass