Example #1
0
    def createReadyDialogue(self):
        menu = Menu(self.menuGraphics, self.fonts, self.inputManager)

        menu.initMenu([
            3, "Are you ready?", ["Yes", "Exit"],
            [[self.race.startRace], [self.race.createDemoRace]], [[3], [None]]
        ])
Example #2
0
    def createStartMenu(self):
        menu = Menu(self.menuGraphics, self.fonts, self.inputManager)

        menu.initMenu([
            0, None, ["New Game", "Quit Game"],
            [[self.race.createRace, self.createReadyDialogue],
             [base.userExit]], [[None, None], [None]]
        ])
Example #3
0
File: main.py Project: Iraniya/game
	def createReadyDialogue(self):
		menu = Menu(self.menuGraphics, self.fonts, self.inputManager)
		menu.initMenu([3, "Ready?", ["Yes", "Exit"], [[self.race.startRace], [self.race.createDemoRace]], [[3], [None]]])
Example #4
0
File: main.py Project: Iraniya/game
	def createStartMenu(self):
		menu = Menu(self.menuGraphics, self.fonts, self.inputManager)
		menu.initMenu([0, None, ["New Game", "Quit Game"], [[self.race.createRace, self.createReadyDialogue], [base.userExit]], [[None, None], [None]]])