示例#1
0
 def resume(self, idMatch):
     self.match = GameFactory.createMatch(self.game)
     if self.match.resumeMatch(idMatch):
         for nick in self.match.getPlayers():
             self.addPlayer(nick)
         return True
     return False
示例#2
0
 def begin(self):
     self.match = GameFactory.createMatch(self.game)
     self.match.setPlayers(self.porder)
     self.match.startMatch()