comparison gamelib/tiles.py @ 62:98ce098f8cbb

Add broken fence tile
author Neil Muller <drnlmuller@gmail.com>
date Mon, 31 Aug 2009 19:32:02 +0000
parents 205789321a46
children b7dc405a28be
comparison
equal deleted inserted replaced
61:67f0346e5435 62:98ce098f8cbb
12 0: ("woodland", "woodland.png"), 12 0: ("woodland", "woodland.png"),
13 1: ("grassland", "grassland.png"), 13 1: ("grassland", "grassland.png"),
14 2: ("fence", "fence.png"), 14 2: ("fence", "fence.png"),
15 3: ("henhouse", "grassland.png"), 15 3: ("henhouse", "grassland.png"),
16 4: ("guardtower", "guardtower.png"), 16 4: ("guardtower", "guardtower.png"),
17 5: ("broken fence", "broken_fence.png"),
17 } 18 }
18 19
19 def __init__(self, tiles=None): 20 def __init__(self, tiles=None):
20 if tiles is None: 21 if tiles is None:
21 tiles = self.DEFAULT_TILES.copy() 22 tiles = self.DEFAULT_TILES.copy()