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
def begin(self): self.match = GameFactory.createMatch(self.game) self.match.setPlayers(self.porder) self.match.startMatch()