Generate AA & armor to defend airbase. Destruction status correctly tracked.

This commit is contained in:
Khopa
2019-10-14 01:25:48 +02:00
parent bd66dcb39e
commit 09b8ff6b93
55 changed files with 289 additions and 117 deletions

View File

@@ -21,6 +21,7 @@ class QMapGroundObject(QGraphicsRectItem):
if len(self.model.groups) > 0:
units = {}
for g in self.model.groups:
print(g)
for u in g.units:
if u.type in units.keys():
units[u.type] = units[u.type]+1