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

Module pathnodes

source code

Classes [hide private]
Abstract class; used to derive list of path nodes from, which is used for pathfinding.
List of path nodes for a consumer, that is a building Interface: self.nodes: {(x, y): speed, ...
List of path nodes for island Interface: self.nodes: List of nodes on island, where the terrain allows to be walked on self.road_nodes: dictionary of nodes, where a road is built on
List of barriers on an island.
Variables [hide private]
  __package__ = 'horizons.util.pathfinding'