Mercurial > rinkhals
changeset 133:b7dc405a28be
Add Hendominium image support.
author | Simon Cross <hodgestar@gmail.com> |
---|---|
date | Wed, 02 Sep 2009 22:02:20 +0000 |
parents | 03293bd45930 |
children | 9377ea6976e5 |
files | gamelib/buildings.py gamelib/tiles.py |
diffstat | 2 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/gamelib/buildings.py Wed Sep 02 21:58:08 2009 +0000 +++ b/gamelib/buildings.py Wed Sep 02 22:02:20 2009 +0000 @@ -177,8 +177,11 @@ class DoubleStoryHenHouse(HenHouse): """A double story hen house.""" + TILE_NO = tiles.REVERSE_TILE_MAP['hendominium'] BUY_PRICE = 300 SELL_PRICE = 150 + SIZE = (2, 3) + IMAGE = 'sprites/hendominium.png' NAME = 'Hendominium' FLOORS = 2
--- a/gamelib/tiles.py Wed Sep 02 21:58:08 2009 +0000 +++ b/gamelib/tiles.py Wed Sep 02 22:02:20 2009 +0000 @@ -15,6 +15,7 @@ 3: ("henhouse", "grassland.png"), 4: ("guardtower", "guardtower.png"), 5: ("broken fence", "broken_fence.png"), + 6: ("hendominium", "grassland.png"), } def __init__(self, tiles=None):