Class LJ_GDX_ai.Heuristic_CD.LIP

java.lang.Object
com.prineside.luaj.mapping.InterfaceProxy
com.prineside.luaj.mapping.parts.LJ_GDX_ai.Heuristic_CD.LIP
All Implemented Interfaces:
com.badlogic.gdx.ai.pfa.Heuristic, com.esotericsoftware.kryo.KryoSerializable
Enclosing class:
LJ_GDX_ai.Heuristic_CD

public static class LJ_GDX_ai.Heuristic_CD.LIP extends InterfaceProxy implements com.badlogic.gdx.ai.pfa.Heuristic
  • Method Details

    • estimate

      public float estimate(Object p1, Object p2)
      Description copied from interface: com.badlogic.gdx.ai.pfa.Heuristic
      Calculates an estimated cost to reach the goal node from the given node.
      Specified by:
      estimate in interface com.badlogic.gdx.ai.pfa.Heuristic
      Parameters:
      p1 - the start node
      p2 - the end node
      Returns:
      the estimated cost