1
Fork 0

added style and error checking

This commit is contained in:
Jake Howard 2015-05-06 09:50:48 +01:00
parent 2e700da34a
commit 171a18b946

4
GUI.py
View file

@ -35,7 +35,9 @@ class Main_Window:
def play_game(self, event):
logging.info("Game Started.")
self.master.withdraw()
game.initialise(self.master, None)
exit_code = game.initialise(self.master, None)
if exit_code == "player collision":
self.title["text"] = "You Lost, Try Again?"
def close(self, event):
logging.critical("Closing Main Window.")