Package com.prineside.luaj.mapping.parts
Class LJ_GDX_ai.HierarchicalGraph_CE.LIP
java.lang.Object
com.prineside.luaj.mapping.InterfaceProxy
com.prineside.luaj.mapping.parts.LJ_GDX_ai.HierarchicalGraph_CE.LIP
- All Implemented Interfaces:
com.badlogic.gdx.ai.pfa.Graph
,com.badlogic.gdx.ai.pfa.HierarchicalGraph
,com.esotericsoftware.kryo.KryoSerializable
- Enclosing class:
- LJ_GDX_ai.HierarchicalGraph_CE
public static class LJ_GDX_ai.HierarchicalGraph_CE.LIP
extends InterfaceProxy
implements com.badlogic.gdx.ai.pfa.HierarchicalGraph
-
Field Summary
Fields inherited from class com.prineside.luaj.mapping.InterfaceProxy
luaObj
-
Method Summary
Modifier and TypeMethodDescriptionconvertNodeBetweenLevels
(int p1, Object p2, int p3) Converts the node at the input level into a node at the output level.com.badlogic.gdx.utils.Array
getConnections
(Object p1) Returns the connections outgoing from the given node.int
Returns the number of levels in this hierarchical graph.void
setLevel
(int p1) Switches the graph into the given level so all future calls to thegetConnections
methods act as if the graph was just a simple, non-hierarchical graph at that level.Methods inherited from class com.prineside.luaj.mapping.InterfaceProxy
getLuaObj, read, write
-
Method Details
-
convertNodeBetweenLevels
Description copied from interface:com.badlogic.gdx.ai.pfa.HierarchicalGraph
Converts the node at the input level into a node at the output level.- Specified by:
convertNodeBetweenLevels
in interfacecom.badlogic.gdx.ai.pfa.HierarchicalGraph
- Parameters:
p1
- the input levelp2
- the node at the input levelp3
- the output level- Returns:
- the node at the output level.
-
getConnections
Description copied from interface:com.badlogic.gdx.ai.pfa.Graph
Returns the connections outgoing from the given node.- Specified by:
getConnections
in interfacecom.badlogic.gdx.ai.pfa.Graph
- Parameters:
p1
- the node whose outgoing connections will be returned- Returns:
- the array of connections outgoing from the given node.
-
getLevelCount
public int getLevelCount()Description copied from interface:com.badlogic.gdx.ai.pfa.HierarchicalGraph
Returns the number of levels in this hierarchical graph.- Specified by:
getLevelCount
in interfacecom.badlogic.gdx.ai.pfa.HierarchicalGraph
-
setLevel
public void setLevel(int p1) Description copied from interface:com.badlogic.gdx.ai.pfa.HierarchicalGraph
Switches the graph into the given level so all future calls to thegetConnections
methods act as if the graph was just a simple, non-hierarchical graph at that level.- Specified by:
setLevel
in interfacecom.badlogic.gdx.ai.pfa.HierarchicalGraph
- Parameters:
p1
- the level to set
-