init
This commit is contained in:
25
player/scripts/state.gd
Normal file
25
player/scripts/state.gd
Normal file
@@ -0,0 +1,25 @@
|
||||
class_name State extends Node
|
||||
|
||||
static var player : Player
|
||||
static var state_machine: PlayerStateMachine
|
||||
|
||||
func _ready() -> void:
|
||||
pass
|
||||
|
||||
func init() -> void:
|
||||
pass
|
||||
|
||||
func enter() -> void:
|
||||
pass
|
||||
|
||||
func exit() -> void:
|
||||
pass
|
||||
|
||||
func process(_delta : float) -> State:
|
||||
return null
|
||||
|
||||
func physics(_delta : float) -> State:
|
||||
return null
|
||||
|
||||
func handle_input(_event : InputEvent) -> State:
|
||||
return null
|
||||
Reference in New Issue
Block a user