Mercurial > fife-parpg
comparison demos/shooter/scripts/world.py @ 471:7a79dc2a0592
Adding the credits window (still needs to be written)
Hopefully fixed some memory leaks.
Moved the flashing code to the appropriate spot (in ShipBase).
author | prock@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Thu, 15 Apr 2010 15:53:06 +0000 |
parents | 5994e61cdebd |
children | 3164715a0621 |
comparison
equal
deleted
inserted
replaced
470:3b04e921c93d | 471:7a79dc2a0592 |
---|---|
78 self._highscores.hide() | 78 self._highscores.hide() |
79 | 79 |
80 self._winner = WinnerDisplay() | 80 self._winner = WinnerDisplay() |
81 self._winner.hide() | 81 self._winner.hide() |
82 | 82 |
83 self._credits = CreditsDisplay(self) | |
84 self._credits.hide() | |
85 | |
83 self._genericrenderer = None | 86 self._genericrenderer = None |
84 | 87 |
85 self._gamecomplete = False | 88 self._gamecomplete = False |
86 | 89 |
87 def showMainMenu(self): | 90 def showMainMenu(self): |
92 cont = False | 95 cont = False |
93 | 96 |
94 self._mainmenu.show(cont) | 97 self._mainmenu.show(cont) |
95 | 98 |
96 def showCredits(self): | 99 def showCredits(self): |
97 pass | 100 self._credits.show() |
98 | 101 |
99 def showHighScores(self): | 102 def showHighScores(self): |
100 self._highscores.show() | 103 self._highscores.show() |
101 | 104 |
102 def quit(self): | 105 def quit(self): |