comparison gamelib/constants.py @ 64:99fbb652ce8d

Refactor buildings so that new ones can be added just by adding a class to buildings.py.
author Simon Cross <hodgestar@gmail.com>
date Mon, 31 Aug 2009 20:25:11 +0000
parents e2631c8e2cd6
children edc15ce8fa30
comparison
equal deleted inserted replaced
63:1047ccd22dac 64:99fbb652ce8d
20 # Game constants 20 # Game constants
21 21
22 STARTING_CASH = 1000 22 STARTING_CASH = 1000
23 SELL_PRICE_CHICKEN = 10 23 SELL_PRICE_CHICKEN = 10
24 BUY_PRICE_FENCE = 50 24 BUY_PRICE_FENCE = 50
25 BUY_PRICE_HENHOUSE = 100
26 BUY_PRICE_GUARDTOWER = 200
27 25
28 TOOL_SELL_CHICKEN = 1 26 TOOL_SELL_CHICKEN = 1
29 TOOL_SELL_EGG = 2 27 TOOL_SELL_EGG = 2
30 TOOL_BUY_FENCE = 3 28 TOOL_SELL_BUILDING = 3
31 TOOL_BUY_HENHOUSE = 4 29 TOOL_BUY_FENCE = 4
32 TOOL_BUY_GUARDTOWER = 5