Exemplo n.º 1
0
Arquivo: gui.py Projeto: saebyn/nwgui
 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 = {}
Exemplo n.º 2
0
Arquivo: gui.py Projeto: saebyn/nwgui
 def handleEvent(self, event):
     AbsoluteContainer.handleEvent(self, event)