Package com.prineside.luaj.mapping.parts
Class LJ_GDX_ai.Location_FE.LIP
java.lang.Object
com.prineside.luaj.mapping.InterfaceProxy
com.prineside.luaj.mapping.parts.LJ_GDX_ai.Location_FE.LIP
- All Implemented Interfaces:
 com.badlogic.gdx.ai.utils.Location,com.esotericsoftware.kryo.KryoSerializable
- Enclosing class:
 - LJ_GDX_ai.Location_FE
 
public static class LJ_GDX_ai.Location_FE.LIP
extends InterfaceProxy
implements com.badlogic.gdx.ai.utils.Location
- 
Method Summary
Modifier and TypeMethodDescriptioncom.badlogic.gdx.math.VectorangleToVector(com.badlogic.gdx.math.Vector p1, float p2) Returns the unit vector in the direction of the specified angle expressed in radians.floatReturns the float value indicating the orientation of this location.com.badlogic.gdx.math.VectorReturns the vector indicating the position of this location.com.badlogic.gdx.ai.utils.LocationCreates a new location.voidsetOrientation(float p1) Sets the orientation of this location, i.e.floatvectorToAngle(com.badlogic.gdx.math.Vector p1) Returns the angle in radians pointing along the specified vector.Methods inherited from class com.prineside.luaj.mapping.InterfaceProxy
getLuaObj, read, write 
- 
Method Details
- 
angleToVector
public com.badlogic.gdx.math.Vector angleToVector(com.badlogic.gdx.math.Vector p1, float p2) Description copied from interface:com.badlogic.gdx.ai.utils.LocationReturns the unit vector in the direction of the specified angle expressed in radians.- Specified by:
 angleToVectorin interfacecom.badlogic.gdx.ai.utils.Location- Parameters:
 p1- the output vector.p2- the angle in radians.- Returns:
 - the output vector for chaining.
 
 - 
getOrientation
public float getOrientation()Description copied from interface:com.badlogic.gdx.ai.utils.LocationReturns the float value indicating the orientation of this location. The orientation is the angle in radians representing the direction that this location is facing.- Specified by:
 getOrientationin interfacecom.badlogic.gdx.ai.utils.Location
 - 
getPosition
public com.badlogic.gdx.math.Vector getPosition()Description copied from interface:com.badlogic.gdx.ai.utils.LocationReturns the vector indicating the position of this location.- Specified by:
 getPositionin interfacecom.badlogic.gdx.ai.utils.Location
 - 
newLocation
public com.badlogic.gdx.ai.utils.Location newLocation()Description copied from interface:com.badlogic.gdx.ai.utils.LocationCreates a new location.This method is used internally to instantiate locations of the correct type parameter
T. This technique keeps the API simple and makes the API easier to use with the GWT backend because avoids the use of reflection.- Specified by:
 newLocationin interfacecom.badlogic.gdx.ai.utils.Location- Returns:
 - the newly created location.
 
 - 
setOrientation
public void setOrientation(float p1) Description copied from interface:com.badlogic.gdx.ai.utils.LocationSets the orientation of this location, i.e. the angle in radians representing the direction that this location is facing.- Specified by:
 setOrientationin interfacecom.badlogic.gdx.ai.utils.Location- Parameters:
 p1- the orientation in radians
 - 
vectorToAngle
public float vectorToAngle(com.badlogic.gdx.math.Vector p1) Description copied from interface:com.badlogic.gdx.ai.utils.LocationReturns the angle in radians pointing along the specified vector.- Specified by:
 vectorToAnglein interfacecom.badlogic.gdx.ai.utils.Location- Parameters:
 p1- the vector
 
 -