Package horizons :: Package ai :: Package aiplayer :: Module constants :: Class BUILDING_PURPOSE
[hide private]
[frames] | no frames]

Class BUILDING_PURPOSE

source code

Class Methods [hide private]
 
init_translation(cls) source code
 
get_building(cls, purpose) source code
 
get_purpose(cls, building_id) source code
Class Variables [hide private]
  NONE = 1
  RESERVED = 2
  WAREHOUSE = 3
  ROAD = 4
  FISHER = 5
  LUMBERJACK = 6
  TREE = 7
  STORAGE = 8
  FARM = 9
  POTATO_FIELD = 10
  CLAY_PIT = 11
  BRICKYARD = 12
  PASTURE = 13
  WEAVER = 14
  SUGARCANE_FIELD = 15
  DISTILLERY = 16
  MAIN_SQUARE = 17
  RESIDENCE = 18
  PAVILION = 19
  VILLAGE_SCHOOL = 20
  TAVERN = 21
  MINE = 22
  SMELTERY = 23
  TOOLMAKER = 24
  CHARCOAL_BURNER = 25
  BOAT_BUILDER = 26
  SIGNAL_FIRE = 27
  TOBACCO_FIELD = 28
  TOBACCONIST = 29
  SALT_PONDS = 30
  FIRE_STATION = 31
  DOCTOR = 32
  HERBARY = 33
  STONE_PIT = 34
  STONEMASON = 35
  purpose_to_building = {}
  building_to_purpose = {}