mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-10-22 15:38:14 +00:00
added the game
This commit is contained in:
19
Scripts/Classes/States/State.gd
Executable file
19
Scripts/Classes/States/State.gd
Executable file
@@ -0,0 +1,19 @@
|
||||
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
|
Reference in New Issue
Block a user