예제 #1
0
파일: Menus.py 프로젝트: Anakonda/pixelords
	def gotoRulesMenu(self, menu, x,y):
		try:
			RulesMenu = Rules(self.engine)
		except Exception as error:
			Functions.formatException(self.engine, error)

		self.widgets = []
		self.addWidgets()
예제 #2
0
파일: Menus.py 프로젝트: Anakonda/pixelords
	def gotoSoundMenu(self, menu, x,y):
		try:
			SoundMenu = Sound(self.engine)
		except Exception as error:
			Functions.formatException(self.engine, error)

		self.widgets = []
		self.addWidgets()
예제 #3
0
파일: Menus.py 프로젝트: Anakonda/pixelords
	def startGame(self, menu, x,y):
		try:
			game = Game.Game(self.engine)
		except Exception as error:
			Functions.formatException(self.engine, error)

		pygame.mouse.set_visible(True)
		self.engine.inGame = False