Beispiel #1
0
 def __init__(self,
              engine,
              players,
              maxplayers=None,
              gameMode=0,
              multiMode=0,
              allowGuitar=True,
              allowDrum=True,
              allowMic=False,
              tutorial=False):
     self.engine = engine
     self.players = []
     self.minPlayers = players
     self.maxPlayers = maxplayers or players
     self.gameMode = gameMode  #Quickplay, Practice, Career
     self.multiMode = multiMode  #Face-Off, Pro FO, Party, Co-Op, RB Co-Op, GH Co-Op, Battle
     self.allowGuitar = allowGuitar
     self.allowDrum = allowDrum
     self.allowMic = allowMic
     self.tutorial = tutorial
     self.scene = None
     self.sceneName = ""
     self.songQueue = SongQueue()
     self.playingQueue = False
     self.done = False
     self.setGameName()