Mercurial > rinkhals
diff gamelib/engine.py @ 223:527a5d4e3fa3
Disable tools at night.
author | Simon Cross <hodgestar@gmail.com> |
---|---|
date | Fri, 04 Sep 2009 22:39:19 +0000 |
parents | 322e6d3a46e4 |
children | 96d440bebdaa |
line wrap: on
line diff
--- a/gamelib/engine.py Fri Sep 04 22:38:48 2009 +0000 +++ b/gamelib/engine.py Fri Sep 04 22:39:19 2009 +0000 @@ -105,7 +105,7 @@ def init(self): """Add some chickens to the farm""" sound.stop_background_music() - self.game.gameboard.tv.sun(True) + self.game.gameboard.start_day() sound.play_sound("daybreak.ogg") # disable timer @@ -147,8 +147,7 @@ def init(self): """Add some foxes to the farm""" sound.stop_background_music() - self.game.gameboard.tv.sun(False) - self.game.gameboard.reset_states() + self.game.gameboard.start_night() sound.play_sound("nightfall.ogg") # Add a timer to the event queue