Package horizons :: Module entities :: Class Entities
[hide private]
[frames] | no frames]

Class Entities

source code

Class that stores all the special classes for buildings, grounds etc. Stores class objects, not instances. Loads grounds from the db. Loads units and buildings from the object YAML files.

Class Methods [hide private]
 
load(cls, db, load_now=False) source code
 
load_grounds(cls, db, load_now=False) source code
 
load_buildings(cls, db, load_now=False) source code
 
load_units(cls, load_now=False) source code
Class Variables [hide private]
  loaded = False
  log = logging.getLogger('entities')