giants-godot/entities/character.gd
2021-09-08 18:36:41 +02:00

20 lines
281 B
GDScript

extends Entity
class_name Character
enum States {
Alive,
Dead
}
export var Health = 100
var State = States.Alive
func _init():
gravity_scale = 10
mass = 10
# Called when the node enters the scene tree for the first time.
func _ready():
pass # Replace with function body.