comparison gamelib/engine.py @ 118:2c76ed47fc44

Remove chicken respawn at day start. Handle eaten chickens in henhouses better
author Neil Muller <drnlmuller@gmail.com>
date Wed, 02 Sep 2009 20:28:03 +0000
parents d539ef5a3333
children d2b19131d537
comparison
equal deleted inserted replaced
117:f23ea2615b78 118:2c76ed47fc44
50 50
51 sound.play_sound("daybreak.ogg") 51 sound.play_sound("daybreak.ogg")
52 # disable timer 52 # disable timer
53 pygame.time.set_timer(MOVE_FOX_ID, 0) 53 pygame.time.set_timer(MOVE_FOX_ID, 0)
54 self.game.gameboard.clear_foxes() 54 self.game.gameboard.clear_foxes()
55 self.game.gameboard.update_chickens()
56 sound.background_music("daytime.ogg") 55 sound.background_music("daytime.ogg")
57 self.game.gameboard.hatch_eggs() 56 self.game.gameboard.hatch_eggs()
58 57
59 def event(self, e): 58 def event(self, e):
60 if events_equal(e, START_NIGHT): 59 if events_equal(e, START_NIGHT):