def start(self): games = SaveGameUtil.get_saved_game_list() menu_items = [] for g in games: menu_items.append( intex.MenuItem(g.name, AbstractMenuController.ACTION_LOAD_GAME, g)) menu_items.append( intex.MenuItem("BACK", AbstractMenuController.ACTION_MAIN_MENU)) self.set_menu_items(menu_items)
def define_menu_items(self): menu_items = [] menu_items.append( intex.MenuItem("START GAME", AbstractMenuController.ACTION_START_GAME)) menu_items.append( intex.MenuItem("LOAD GAME", AbstractMenuController.ACTION_LOAD_MENU)) menu_items.append( intex.MenuItem("CREDITS", AbstractMenuController.ACTION_CREDITS)) menu_items.append( intex.MenuItem("EXIT", AbstractMenuController.ACTION_QUIT)) return menu_items
def define_menu_items(self): menu_items = [] menu_items.append( intex.MenuItem("BACK TO GAME", AbstractMenuController.ACTION_BACK_TO_GAME)) menu_items.append( intex.MenuItem("SAVE GAME", AbstractMenuController.ACTION_SAVE_GAME)) if Cheats.getCheatNextLevelMenu(): menu_items.append( intex.MenuItem("NEXT LEVEL", AbstractMenuController.ACTION_NEXT_LEVEL)) menu_items.append( intex.MenuItem("QUIT", AbstractMenuController.ACTION_QUIT)) return menu_items
def define_menu_items(self): menu_items = [] menu_items.append( intex.MenuItem("BACK", AbstractMenuController.ACTION_MAIN_MENU)) return menu_items
def define_menu_items(self): menu_items = [] menu_items.append( intex.MenuItem("CONTINUE", AbstractMenuController.ACTION_START_GAME)) return menu_items