Mercurial > rinkhals
comparison gamelib/gameboard.py @ 544:84964077626a
Counter display more compact, although not as pretty as it should be.
author | Jeremy Thurgood <firxen@gmail.com> |
---|---|
date | Sat, 28 Nov 2009 10:46:19 +0000 |
parents | baf75d5ee50d |
children | 27c09c58d89d |
comparison
equal
deleted
inserted
replaced
543:03be16420e8b | 544:84964077626a |
---|---|
222 self.toolbar.update_day_counter("%s/%s" % (self.days, | 222 self.toolbar.update_day_counter("%s/%s" % (self.days, |
223 self.level.get_max_turns())) | 223 self.level.get_max_turns())) |
224 self.toolbar.update_chicken_counter(len(self.chickens)) | 224 self.toolbar.update_chicken_counter(len(self.chickens)) |
225 self.toolbar.update_cash_counter(self.cash) | 225 self.toolbar.update_cash_counter(self.cash) |
226 self.toolbar.update_wood_counter(self.wood) | 226 self.toolbar.update_wood_counter(self.wood) |
227 if self.killed_foxes: | 227 self.toolbar.update_fox_counter(self.killed_foxes) |
228 self.toolbar.update_fox_counter(self.killed_foxes) | |
229 | 228 |
230 def update(self): | 229 def update(self): |
231 self.tvw.reupdate() | 230 self.tvw.reupdate() |
232 | 231 |
233 def loop(self): | 232 def loop(self): |