20 lines
246 B
GDScript3
20 lines
246 B
GDScript3
|
class_name State
|
||
|
extends Node
|
||
|
|
||
|
var state_machine = null
|
||
|
|
||
|
func handle_input(_event: InputEvent):
|
||
|
pass
|
||
|
|
||
|
func update(_delta: float):
|
||
|
pass
|
||
|
|
||
|
func physics_update(_delta: float):
|
||
|
pass
|
||
|
|
||
|
func enter(_msg: Dictionary = {}):
|
||
|
pass
|
||
|
|
||
|
func exit():
|
||
|
pass
|