public class

AStarPathFinder

extends Object
implements IPathFinder<T>
java.lang.Object
   ↳ org.andengine.util.algorithm.path.astar.AStarPathFinder<T>

Class Overview

TODO Nodes could be recycle in a pool. (c) 2010 Nicolas Gramlich (c) 2011 Zynga Inc.

Summary

Public Constructors
AStarPathFinder()
Public Methods
Path findPath(IPathFinderMap<T> pPathFinderMap, int pXMin, int pYMin, int pXMax, int pYMax, T pEntity, int pFromX, int pFromY, int pToX, int pToY, boolean pAllowDiagonal, IAStarHeuristic<T> pAStarHeuristic, ICostFunction<T> pCostFunction, float pMaxCost, IPathFinderListener<T> pPathFinderListener)
Path findPath(IPathFinderMap<T> pPathFinderMap, int pXMin, int pYMin, int pXMax, int pYMax, T pEntity, int pFromX, int pFromY, int pToX, int pToY, boolean pAllowDiagonal, IAStarHeuristic<T> pAStarHeuristic, ICostFunction<T> pCostFunction)
Path findPath(IPathFinderMap<T> pPathFinderMap, int pXMin, int pYMin, int pXMax, int pYMax, T pEntity, int pFromX, int pFromY, int pToX, int pToY, boolean pAllowDiagonal, IAStarHeuristic<T> pAStarHeuristic, ICostFunction<T> pCostFunction, float pMaxCost)
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.andengine.util.algorithm.path.IPathFinder

Public Constructors

public AStarPathFinder ()

Public Methods

public Path findPath (IPathFinderMap<T> pPathFinderMap, int pXMin, int pYMin, int pXMax, int pYMax, T pEntity, int pFromX, int pFromY, int pToX, int pToY, boolean pAllowDiagonal, IAStarHeuristic<T> pAStarHeuristic, ICostFunction<T> pCostFunction, float pMaxCost, IPathFinderListener<T> pPathFinderListener)

public Path findPath (IPathFinderMap<T> pPathFinderMap, int pXMin, int pYMin, int pXMax, int pYMax, T pEntity, int pFromX, int pFromY, int pToX, int pToY, boolean pAllowDiagonal, IAStarHeuristic<T> pAStarHeuristic, ICostFunction<T> pCostFunction)

public Path findPath (IPathFinderMap<T> pPathFinderMap, int pXMin, int pYMin, int pXMax, int pYMax, T pEntity, int pFromX, int pFromY, int pToX, int pToY, boolean pAllowDiagonal, IAStarHeuristic<T> pAStarHeuristic, ICostFunction<T> pCostFunction, float pMaxCost)