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

Class IslandBarrierNodes

source code

PathNodes --+
            |
           IslandBarrierNodes

List of barriers on an island. Used for pathfinding when constructing barriers by dragging.

Instance Methods [hide private]
 
__init__(self, island) source code
 
register(self, barrier) source code
 
unregister(self, barrier) 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, island)
(Constructor)

source code 
Overrides: PathNodes.__init__