Example #1
0
 def __init__(self, continent, territory, image_path, x, y):
     self.territory = territory
     self.last_known_owner = None
     self.highlighted = False
     surface = pygame.image.load(image_path).convert_alpha()
     ClickableAsset.__init__(self, x, y, 0, 0, "")
     PicassoAsset.__init__(self, surface, x, y)
Example #2
0
 def __init__(self, continent, territory, image_path, x, y):
     self.territory = territory
     self.last_known_owner = None
     self.highlighted = False
     surface = pygame.image.load(image_path).convert_alpha()
     ClickableAsset.__init__(self, x, y, 0, 0, "")
     PicassoAsset.__init__(self, surface, x, y)