Package pajammin :: Package ai :: Module pathplanner :: Class FallPathLink
[show private | hide private]
[frames | no frames]

Class FallPathLink

PathLink --+
           |
          FallPathLink


A link in the path planning graph for walkers, specifying that a walker can get from one surface to another by falling down to it.
Method Summary
  __init__(self, source, target, x, destx, side, walk_speed)
  __repr__(self)

Instance Variable Summary
  destx: The x position where the walker will land on the target surface.
  side: The direction that the walker should walk to fall off of the surface.
  source: The WalkPathNode for the surface that the walker can fall from.
  target: The WalkPathNode for the surface that the walker can fall to.
  walk_speed: The speed at which the walker should be walking when it falls of the surface.
  x: The x coordinate of the location along the source surface that the walker will need to jump from.

Method Details

__init__(self, source, target, x, destx, side, walk_speed)
(Constructor)

Overrides:
pajammin.ai.pathplanner.PathLink.__init__

__repr__(self)
(Representation operator)


Instance Variable Details

destx

The x position where the walker will land on the target surface.

side

The direction that the walker should walk to fall off of the surface.

source

The WalkPathNode for the surface that the walker can fall from.

target

The WalkPathNode for the surface that the walker can fall to.

walk_speed

The speed at which the walker should be walking when it falls of the surface.

x

The x coordinate of the location along the source surface that the walker will need to jump from.