示例#1
0
文件: gui.py 项目: 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 = {}
示例#2
0
文件: gui.py 项目: saebyn/nwgui
 def handleEvent(self, event):
     AbsoluteContainer.handleEvent(self, event)