summaryrefslogtreecommitdiff
path: root/unit/unit.gd
diff options
context:
space:
mode:
Diffstat (limited to 'unit/unit.gd')
-rw-r--r--unit/unit.gd18
1 files changed, 18 insertions, 0 deletions
diff --git a/unit/unit.gd b/unit/unit.gd
new file mode 100644
index 0000000..e0f9025
--- /dev/null
+++ b/unit/unit.gd
@@ -0,0 +1,18 @@
+class_name Unit
+extends Node2D
+
+
+@export var max_hp := 0
+@export var current_hp := 0
+
+@export var current_team: String
+
+
+# Called when the node enters the scene tree for the first time.
+func _ready() -> void:
+ pass # Replace with function body.
+
+
+# Called every frame. 'delta' is the elapsed time since the previous frame.
+func _process(_delta: float) -> void:
+ pass