Started refactoring on ground objects. WW2 factions will have WW2 style buildings. Added ground objects templates for : "village", "ww2bunker", "allycamp"

This commit is contained in:
Khopa
2020-06-11 21:50:09 +02:00
parent 90d588353c
commit c708abafc8
23 changed files with 106 additions and 54 deletions

View File

@@ -17,7 +17,7 @@ class QMapGroundObject(QGraphicsRectItem):
self.setAcceptHoverEvents(True)
self.setZValue(2)
self.buildings = buildings
#self.setFlag(QGraphicsItem.ItemIgnoresTransformations, True)
self.setFlag(QGraphicsItem.ItemIgnoresTransformations, False)
if len(self.model.groups) > 0:
units = {}