add unit info ui

This commit is contained in:
2024-10-07 04:06:47 +10:00
parent 6be3947b50
commit b329791acf
14 changed files with 330 additions and 9 deletions

View File

@@ -2,8 +2,10 @@ extends Node
@onready var anthill_info: AnthillInfo = $/root/World/UI/AnthillInfo
@onready var buy_ants: BuyAnts = $/root/World/UI/BuyAnts
@onready var unit_info: UnitInfo = $/root/World/UI/UnitInfo
func _ready() -> void:
assert(anthill_info != null, "anthill_info missing!")
assert(buy_ants != null, "buy_ants missing!")
assert(unit_info != null, "unit_info missing!")