Compose buildings from definitions and capabilities

This commit is contained in:
Loïc Wisniewski 2026-08-14 21:44:28 +02:00
commit 0504b24d8d
46 changed files with 1091 additions and 878 deletions

View file

@ -53,7 +53,7 @@ func _process(delta: float) -> bool:
var ship: Node2D = null
for b in field.spawned:
if is_instance_valid(b) and b.building_type == GameState.BUILDING_MOTHERSHIP:
ship = b
ship = b.visual
if ship == null:
print("TEST_ANIMATION_CONTINUITY: FAIL (mothership never spawned)")
quit(1)