Mercurial > rinkhals
diff gamelib/gameover.py @ 392:bb75979b58e6
Move game_over logic from gameboard to level, for later reworking
author | Neil Muller <drnlmuller@gmail.com> |
---|---|
date | Sun, 01 Nov 2009 21:08:43 +0000 |
parents | 463802281182 |
children | 296c73dcd286 |
line wrap: on
line diff
--- a/gamelib/gameover.py Thu Oct 29 21:09:22 2009 +0000 +++ b/gamelib/gameover.py Sun Nov 01 21:08:43 2009 +0000 @@ -85,7 +85,7 @@ self.tr() made_list = scoreboard.check(score) is not None - if gameboard.is_game_over(): + if level.is_game_over(gameboard): if len(gameboard.chickens) > 0: self.survived = WON scoreboard.submit(score, 'Player')