Class PathPosition
raft.kilavuz.runtime
java.lang.Object
  raft.kilavuz.runtime.PathPosition
All Implemented Interfaces:

public class PathPosition
extends Object
implements Cloneable
a position in an executable path, ie: PathIterator
See Also:
PathIterator

Field Summary
short
animation
animation to reach this position.
direction
direction in 3d space
location
location in 3d space
short
terrain
terrain information at this position.
Constructor Summary
PathPosition()
creates a new PathPosition located at origin and directed at positive z axis, with no animation and default terrain
PathPosition(SimpleVector location, SimpleVector direction, short animation, short terrain)
creates a new PathPosition by creating Vector3's from given vectors.
PathPosition(PathPosition other)
creates a new PathPosition by copying given PathPosition.
PathPosition(Vector3 location, Vector3 direction, short animation, short terrain)
creates a new PathPosition by using given vectors.
Method Summary
Field Detail
location
public final Vector3 location
location in 3d space

direction
public final Vector3 direction
direction in 3d space

animation
public short animation
animation to reach this position. used for animation system

terrain
public short terrain
terrain information at this position. not used at the moment, hopefully future releases will provide and use terrain information too
Constructor Detail
PathPosition
public PathPosition()
creates a new PathPosition located at origin and directed at positive z axis, with no animation and default terrain
See Also:

PathPosition
public PathPosition(Vector3 location,
                    Vector3 direction,
                    short animation,
                    short terrain)
creates a new PathPosition by using given vectors. does not create new instances but refers them.

PathPosition
public PathPosition(SimpleVector location,
                    SimpleVector direction,
                    short animation,
                    short terrain)
creates a new PathPosition by creating Vector3's from given vectors.

PathPosition
public PathPosition(PathPosition other)
creates a new PathPosition by copying given PathPosition.
Method Detail
clone
public PathPosition clone()
Overrides:
clone in class Object

toString
public String toString()
Overrides:
toString in class Object
Java API documentation generated with DocFlex/Doclet v1.5.2
DocFlex/Doclet is both a multi-format Javadoc doclet and a free edition of DocFlex/Javadoc. If you need to customize your Javadoc without writing a full-blown doclet from scratch, DocFlex/Javadoc may be the only tool able to help you! Find out more at www.docflex.com