comparison gamelib/buildings.py @ 63:1047ccd22dac

Switch guard tower to new watchtower.png image.
author Simon Cross <hodgestar@gmail.com>
date Mon, 31 Aug 2009 19:32:42 +0000
parents 08665fa60345
children 99fbb652ce8d
comparison
equal deleted inserted replaced
62:98ce098f8cbb 63:1047ccd22dac
80 """A GuardTower.""" 80 """A GuardTower."""
81 81
82 GUARDTOWER = tiles.REVERSE_TILE_MAP['guardtower'] 82 GUARDTOWER = tiles.REVERSE_TILE_MAP['guardtower']
83 83
84 def __init__(self, pos): 84 def __init__(self, pos):
85 day_image = imagecache.load_image('sprites/guardtower.png') 85 day_image = imagecache.load_image('sprites/watchtower.png')
86 night_image = imagecache.load_image('sprites/guardtower.png', ('night',)) 86 night_image = imagecache.load_image('sprites/watchtower.png', ('night',))
87 size = (1, 1) 87 size = (2, 2)
88 Building.__init__(self, day_image, night_image, pos, size, self.GUARDTOWER) 88 Building.__init__(self, day_image, night_image, pos, size, self.GUARDTOWER)