mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-10-22 15:38:14 +00:00
20 lines
290 B
GDScript
Executable File
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
|