def initialise(self): """Initialises menus, etc""" GameState.initialise(self) gameMap = GameMap(Display.MapX, Display.MapY, Display.MapW, Display.MapH, "The Valley of the Wind", self._world, self._world.hero) # Add the map as as a purely graphical element self.addMenu(gameMap, False) charDisplay = CharDisplay(Display.MapW, 0, Display.RIGHT_MENU_SIZE, 200, "Nausicaa's equipment", self._world.hero) # Add the char display as as a purely graphical element self.addMenu(charDisplay, False)
def __init__(self): GameState.__init__(self)
def initMenus(self): """Initialise the regular menus, but also create the message menu""" GameState.initMenus(self) self.createMessageMenu()
def __init__(self, world): GameState.__init__(self) self._world = world
def initialise(self): """Initialises menus, etc""" GameState.initialise(self) self.createBackground() self.createTitleMenu()