Atavism Version 2018.1AGIS API

atavism.server.pathing
Class PathLocAndDir

java.lang.Object
  extended by atavism.server.pathing.PathLocAndDir

public class PathLocAndDir
extends java.lang.Object

A class to encapsulate the return values from path interpolators


Field Summary
protected  AOVector dir
           
protected  float lengthLeft
           
protected  Point loc
           
 
Constructor Summary
PathLocAndDir(Point loc, AOVector dir, float lengthLeft)
           
 
Method Summary
 AOVector getDir()
           
 float getLengthLeft()
           
 Point getLoc()
           
 Quaternion getOrientation()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

loc

protected Point loc

dir

protected AOVector dir

lengthLeft

protected float lengthLeft
Constructor Detail

PathLocAndDir

public PathLocAndDir(Point loc,
                     AOVector dir,
                     float lengthLeft)
Method Detail

getLoc

public Point getLoc()

getDir

public AOVector getDir()

getOrientation

public Quaternion getOrientation()

getLengthLeft

public float getLengthLeft()


Copyright © 2018 Dragonsan Studios Sp. z o.o.