comparison gamelib/tiles.py @ 133:b7dc405a28be

Add Hendominium image support.
author Simon Cross <hodgestar@gmail.com>
date Wed, 02 Sep 2009 22:02:20 +0000
parents 98ce098f8cbb
children a4e3d26d16f0
comparison
equal deleted inserted replaced
132:03293bd45930 133:b7dc405a28be
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 5: ("broken fence", "broken_fence.png"),
18 6: ("hendominium", "grassland.png"),
18 } 19 }
19 20
20 def __init__(self, tiles=None): 21 def __init__(self, tiles=None):
21 if tiles is None: 22 if tiles is None:
22 tiles = self.DEFAULT_TILES.copy() 23 tiles = self.DEFAULT_TILES.copy()