init commit

This commit is contained in:
2023-10-27 17:12:47 -05:00
commit 0cca809fc2
8 changed files with 190 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
extends Node
class_name Damageable
@export var max_health: int
@onready var health = max_health

View File

@@ -0,0 +1,6 @@
extends Node
class_name Entity
func is_damageable():
has_node("Damageable")