bovido/scripts/state.gd
Mathilde Grapin 7038d29d87 First commit
Add simple player movement with a finite state machine.
Add enemy that can move to target point.
Add ground through a tilemap and wall that player and enemy cannot
cross.
2023-06-11 23:38:54 +02:00

20 lines
246 B
GDScript

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