Package horizons :: Package world :: Package building :: Module buildable
[hide private]
[frames] | no frames]

Module buildable

source code

Classes [hide private]
  BuildableErrorTypes
Killjoy class.
  _BuildPosition
A possible build position in form of a data structure.
  _NotBuildableError
Internal exception.
  Buildable
Interface for every kind of buildable objects.
  BuildableSingle
Buildings one can build single.
  BuildableSingleEverywhere
Buildings, that can be built everywhere.
  BuildableRect
Buildings one can build as a Rectangle, such as Trees
  BuildableLine
Buildings one can build in a line, such as paths
  BuildableSingleOnCoast
Buildings one can only build on coast, such as the fisher.
  BuildableSingleOnOcean
Requires ocean nearby as well
  BuildableSingleFromShip
Buildings that can be build from a ship.
  BuildableSingleOnDeposit
For mines; those buildings are only buildable upon other buildings (clay pit on clay deposit, e.g.) For now, mines can only be built on a single type of deposit.