blob: e0f9025531b1530d3a361e2114db27163da96b0e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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
|