Beispiel #1
0
 def __init__(self, game):
     self._game = game
     AbsoluteContainer.__init__(self, game.screen.get_width(),
                                      game.screen.get_height(),
                                      self, root=self)
     self.image = pygame.Surface((0, 0))
     self.active = None
     self.names = {}
Beispiel #2
0
 def handleEvent(self, event):
     AbsoluteContainer.handleEvent(self, event)