Tales-of-PKMN/game/player/states/state.gd
2026-10-13 09:03:55 +02:00

25 lines
491 B
GDScript

extends Node
class_name State
signal transitioned #it's normal if this signal isn't used in this script, because it's purpose is to be used in the scripts that extends from the State class
func enter(_char_reference : CharacterBody3D) -> void:
#enter state
pass
func exit() -> void:
#exit state
pass
func update(_delta : float) -> void:
#process update
pass
func physics_update(_delta : float) -> void:
#physics_process update
pass
func get_hints() -> Variant:
return []