You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
178 B
GDScript

extends KinematicBody2D
class_name Actor
var state = 0
var health = 100
var speed = 200 # How fast the actor will move (pixels/sec).
var state_map = {} # {STATE, Action Node}