Package com.prineside.luaj.mapping.parts
Class LJ_GDX_ai.SmoothableGraphPath_CM.LIP
java.lang.Object
com.prineside.luaj.mapping.InterfaceProxy
com.prineside.luaj.mapping.parts.LJ_GDX_ai.SmoothableGraphPath_CM.LIP
- All Implemented Interfaces:
com.badlogic.gdx.ai.pfa.GraphPath,com.badlogic.gdx.ai.pfa.SmoothableGraphPath,com.esotericsoftware.kryo.KryoSerializable,Iterable
- Enclosing class:
- LJ_GDX_ai.SmoothableGraphPath_CM
public static class LJ_GDX_ai.SmoothableGraphPath_CM.LIP
extends InterfaceProxy
implements com.badlogic.gdx.ai.pfa.SmoothableGraphPath
-
Method Summary
Modifier and TypeMethodDescriptionvoidAdds an item at the end of this path.voidclear()Clears this path.voidget(int p1) Returns the item of this path at the given index.intgetCount()Returns the number of items of this path.com.badlogic.gdx.math.VectorgetNodePosition(int p1) Returns the position of the node at the given index.iterator()voidreverse()Reverses this path.voidswapNodes(int p1, int p2) Swaps the specified nodes of this path.voidtruncatePath(int p1) Reduces the size of this path to the specified length (number of nodes).Methods inherited from class com.prineside.luaj.mapping.InterfaceProxy
getLuaObj, read, write
-
Method Details
-
add
Description copied from interface:com.badlogic.gdx.ai.pfa.GraphPathAdds an item at the end of this path.- Specified by:
addin interfacecom.badlogic.gdx.ai.pfa.GraphPath
-
clear
public void clear()Description copied from interface:com.badlogic.gdx.ai.pfa.GraphPathClears this path.- Specified by:
clearin interfacecom.badlogic.gdx.ai.pfa.GraphPath
-
forEach
-
get
Description copied from interface:com.badlogic.gdx.ai.pfa.GraphPathReturns the item of this path at the given index.- Specified by:
getin interfacecom.badlogic.gdx.ai.pfa.GraphPath
-
getCount
public int getCount()Description copied from interface:com.badlogic.gdx.ai.pfa.GraphPathReturns the number of items of this path.- Specified by:
getCountin interfacecom.badlogic.gdx.ai.pfa.GraphPath
-
getNodePosition
public com.badlogic.gdx.math.Vector getNodePosition(int p1) Description copied from interface:com.badlogic.gdx.ai.pfa.SmoothableGraphPathReturns the position of the node at the given index.- Specified by:
getNodePositionin interfacecom.badlogic.gdx.ai.pfa.SmoothableGraphPath- Parameters:
p1- the index of the node you want to know the position
-
iterator
-
reverse
public void reverse()Description copied from interface:com.badlogic.gdx.ai.pfa.GraphPathReverses this path.- Specified by:
reversein interfacecom.badlogic.gdx.ai.pfa.GraphPath
-
spliterator
- Specified by:
spliteratorin interfaceIterable
-
swapNodes
public void swapNodes(int p1, int p2) Description copied from interface:com.badlogic.gdx.ai.pfa.SmoothableGraphPathSwaps the specified nodes of this path.- Specified by:
swapNodesin interfacecom.badlogic.gdx.ai.pfa.SmoothableGraphPath- Parameters:
p1- index of the first node to swapp2- index of the second node to swap
-
truncatePath
public void truncatePath(int p1) Description copied from interface:com.badlogic.gdx.ai.pfa.SmoothableGraphPathReduces the size of this path to the specified length (number of nodes). If the path is already smaller than the specified length, no action is taken.- Specified by:
truncatePathin interfacecom.badlogic.gdx.ai.pfa.SmoothableGraphPath- Parameters:
p1- the new length
-