Implemented state machine & added NPC ship template

This commit is contained in:
2ndbeam 2024-05-01 17:45:17 +03:00
commit bda9232e72
15 changed files with 284 additions and 22 deletions

View file

@ -0,0 +1,20 @@
extends Node
class_name State
var tree : StateTree
func enter(_message : Dictionary):
pass
func exit():
pass
func process(_delta):
pass
func physics_process(_delta):
pass
func input(_message : Dictionary):
pass