Package com.prineside.luaj.mapping.parts
Class LJ_GDX_ai.PathFinder_CG.LIP
java.lang.Object
com.prineside.luaj.mapping.InterfaceProxy
com.prineside.luaj.mapping.parts.LJ_GDX_ai.PathFinder_CG.LIP
- All Implemented Interfaces:
com.badlogic.gdx.ai.pfa.PathFinder,com.esotericsoftware.kryo.KryoSerializable
- Enclosing class:
- LJ_GDX_ai.PathFinder_CG
public static class LJ_GDX_ai.PathFinder_CG.LIP
extends InterfaceProxy
implements com.badlogic.gdx.ai.pfa.PathFinder
-
Method Summary
Modifier and TypeMethodDescriptionbooleansearch(com.badlogic.gdx.ai.pfa.PathFinderRequest p1, long p2) Performs an interruptible search, trying to find a path made up of nodes from the start node to the goal node attempting to honor costs provided by the graph.booleansearchConnectionPath(Object p1, Object p2, com.badlogic.gdx.ai.pfa.Heuristic p3, com.badlogic.gdx.ai.pfa.GraphPath p4) Performs a non-interruptible search, trying to find a path made up of connections from the start node to the goal node attempting to honor costs provided by the graph.booleansearchNodePath(Object p1, Object p2, com.badlogic.gdx.ai.pfa.Heuristic p3, com.badlogic.gdx.ai.pfa.GraphPath p4) Performs a non-interruptible search, trying to find a path made up of nodes from the start node to the goal node attempting to honor costs provided by the graph.Methods inherited from class com.prineside.luaj.mapping.InterfaceProxy
getLuaObj, read, write
-
Method Details
-
search
public boolean search(com.badlogic.gdx.ai.pfa.PathFinderRequest p1, long p2) Description copied from interface:com.badlogic.gdx.ai.pfa.PathFinderPerforms an interruptible search, trying to find a path made up of nodes from the start node to the goal node attempting to honor costs provided by the graph.- Specified by:
searchin interfacecom.badlogic.gdx.ai.pfa.PathFinder- Parameters:
p1- the pathfinding requestp2- the time in nanoseconds that can be used to advance the search- Returns:
trueif the search has finished;falseotherwise.
-
searchConnectionPath
public boolean searchConnectionPath(Object p1, Object p2, com.badlogic.gdx.ai.pfa.Heuristic p3, com.badlogic.gdx.ai.pfa.GraphPath p4) Description copied from interface:com.badlogic.gdx.ai.pfa.PathFinderPerforms a non-interruptible search, trying to find a path made up of connections from the start node to the goal node attempting to honor costs provided by the graph.- Specified by:
searchConnectionPathin interfacecom.badlogic.gdx.ai.pfa.PathFinder- Parameters:
p1- the start nodep2- the end nodep3- the heuristic functionp4- the output path that will only be filled if a path is found, otherwise it won't get touched.- Returns:
trueif a path was found;falseotherwise.
-
searchNodePath
public boolean searchNodePath(Object p1, Object p2, com.badlogic.gdx.ai.pfa.Heuristic p3, com.badlogic.gdx.ai.pfa.GraphPath p4) Description copied from interface:com.badlogic.gdx.ai.pfa.PathFinderPerforms a non-interruptible search, trying to find a path made up of nodes from the start node to the goal node attempting to honor costs provided by the graph.- Specified by:
searchNodePathin interfacecom.badlogic.gdx.ai.pfa.PathFinder- Parameters:
p1- the start nodep2- the end nodep3- the heuristic functionp4- the output path that will only be filled if a path is found, otherwise it won't get touched.- Returns:
trueif a path was found;falseotherwise.
-