comparison gamelib/gameboard.py @ 290:664bba9be40a

Fences are eclectic.
author Jeremy Thurgood <firxen@gmail.com>
date Sat, 05 Sep 2009 16:07:48 +0000
parents 37d88a9fc097
children bf271e857157
comparison
equal deleted inserted replaced
289:37d88a9fc097 290:664bba9be40a
285 GRASSLAND = tiles.REVERSE_TILE_MAP['grassland'] 285 GRASSLAND = tiles.REVERSE_TILE_MAP['grassland']
286 FENCE = tiles.REVERSE_TILE_MAP['fence'] 286 FENCE = tiles.REVERSE_TILE_MAP['fence']
287 WOODLAND = tiles.REVERSE_TILE_MAP['woodland'] 287 WOODLAND = tiles.REVERSE_TILE_MAP['woodland']
288 BROKEN_FENCE = tiles.REVERSE_TILE_MAP['broken fence'] 288 BROKEN_FENCE = tiles.REVERSE_TILE_MAP['broken fence']
289 289
290 # These don't have to add up to 100, but it's easier to think
291 # about them if they do.
290 FOX_WEIGHTINGS = ( 292 FOX_WEIGHTINGS = (
291 (animal.Fox, 60), 293 (animal.Fox, 59),
292 (animal.GreedyFox, 30), 294 (animal.GreedyFox, 30),
293 (animal.NinjaFox, 5), 295 (animal.NinjaFox, 5),
294 (animal.DemoFox, 5), 296 (animal.DemoFox, 5),
297 (animal.Rinkhals, 1),
295 ) 298 )
296 299
297 def __init__(self, main_app): 300 def __init__(self, main_app):
298 self.disp = main_app 301 self.disp = main_app
299 self.tv = tiles.FarmVid() 302 self.tv = tiles.FarmVid()