コード例 #1
0
ファイル: Planet5521.py プロジェクト: trystan/NausicaaRL
class Planet5521(GameManager):
  """This class contains the game itself."""
  def __init__(self):
    GameManager.__init__(self)
    
    self.humanView = HumanView()
    self.humanView.init("Planet 5521", "planet5521/data/graphics.xml")
    TextManager.loadFromFile("planet5521/data/fonts.xml")
    
    self._currentState = MainMenuState(self.humanView)
コード例 #2
0
ファイル: Planet5521.py プロジェクト: trystan/NausicaaRL
 def __init__(self):
   GameManager.__init__(self)
   
   self.humanView = HumanView()
   self.humanView.init("Planet 5521", "planet5521/data/graphics.xml")
   TextManager.loadFromFile("planet5521/data/fonts.xml")
   
   self._currentState = MainMenuState(self.humanView)