Package horizons :: Package util :: Package pathfinding :: Module pathnodes :: Class ConsumerBuildingPathNodes
[hide private]
[frames] | no frames]

Class ConsumerBuildingPathNodes

source code

PathNodes --+
            |
           ConsumerBuildingPathNodes

List of path nodes for a consumer, that is a building Interface: self.nodes: {(x, y): speed, ...} of the home_building, where the collectors can walk

Instance Methods [hide private]
 
__init__(self, consumerbuilding) source code
Class Variables [hide private]
    Inherited from PathNodes
  NODE_DEFAULT_SPEED = 1.0
  log = logging.getLogger("world.pathfinding")
Method Details [hide private]

__init__(self, consumerbuilding)
(Constructor)

source code 
Overrides: PathNodes.__init__