Class CoordConnection

  • All Implemented Interfaces:
    com.badlogic.gdx.ai.pfa.Connection<PfNode>


    public class CoordConnection
    extends java.lang.Object
    implements com.badlogic.gdx.ai.pfa.Connection<PfNode>
    • Constructor Detail

      • CoordConnection

        public CoordConnection​(PfNode from,
                               PfNode to)
        Parameters:
        from -
        to -
    • Method Detail

      • getCost

        public float getCost​()
        Specified by:
        getCost in interface com.badlogic.gdx.ai.pfa.Connection<PfNode>
      • getFromNode

        public PfNode getFromNode​()
        Specified by:
        getFromNode in interface com.badlogic.gdx.ai.pfa.Connection<PfNode>
      • getToNode

        public PfNode getToNode​()
        Specified by:
        getToNode in interface com.badlogic.gdx.ai.pfa.Connection<PfNode>