Mercurial > rinkhals
comparison gamelib/gameboard.py @ 539:f4d1b9ff9558
Lumberjacks only wander off when their work is done.
author | Jeremy Thurgood <firxen@gmail.com> |
---|---|
date | Sat, 28 Nov 2009 09:52:08 +0000 |
parents | ec5276cfe98b |
children | 450de9dfa106 |
comparison
equal
deleted
inserted
replaced
538:ec5276cfe98b | 539:f4d1b9ff9558 |
---|---|
293 self.eggs = 0 | 293 self.eggs = 0 |
294 for chicken in self.chickens.copy(): | 294 for chicken in self.chickens.copy(): |
295 chicken.start_night() | 295 chicken.start_night() |
296 self.toolbar.update_egg_counter(self.eggs) | 296 self.toolbar.update_egg_counter(self.eggs) |
297 self._cache_animal_positions() | 297 self._cache_animal_positions() |
298 self.chickens_chop_wood() | |
299 self.chickens_scatter() | |
298 | 300 |
299 def start_day(self): | 301 def start_day(self): |
300 if hasattr(self, '_skip_start_day'): | 302 if hasattr(self, '_skip_start_day'): |
301 del self._skip_start_day | 303 del self._skip_start_day |
302 return | 304 return |