Mercurial > rinkhals
diff gamelib/engine.py @ 98:725b292ca07b
Added sounds killing foxes and chickens, and nightfall
Renamed sounds for clarity
author | David Fraser <davidf@sjsoft.com> |
---|---|
date | Wed, 02 Sep 2009 12:14:24 +0000 |
parents | fa8d8fc1bf5b |
children | f5d56688943b |
line wrap: on
line diff
--- a/gamelib/engine.py Wed Sep 02 11:52:02 2009 +0000 +++ b/gamelib/engine.py Wed Sep 02 12:14:24 2009 +0000 @@ -47,7 +47,7 @@ """Add some chickens to the farm""" self.game.gameboard.tv.sun(True) - sound.play_sound("chicken5.ogg") + sound.play_sound("daybreak.ogg") # disable timer pygame.time.set_timer(MOVE_FOX_ID, 0) self.game.gameboard.clear_foxes() @@ -81,6 +81,7 @@ """Add some foxes to the farm""" self.game.gameboard.tv.sun(False) + sound.play_sound("nightfall.ogg") # Add a timer to the event queue self.cycle_count = 0 pygame.time.set_timer(MOVE_FOX_ID, 200)