Class Overview
(c) 2010 Nicolas Gramlich
(c) 2011 Zynga Inc.
Summary
Public Methods |
Path
|
findPath(T pEntity, int pMaxCost, int pFromTileColumn, int pFromTileRow, int pToTileColumn, int pToTileRow)
|
Protected Methods |
boolean
|
isTileBlocked(T pEntity, int pFromTileColumn, int pFromTileRow, int pToTileColumn, int pToTileRow)
|
Public Constructors
public
AStarPathFinder
(ITiledMap<T> pTiledMap, int pMaxSearchDepth, boolean pAllowDiagonalMovement)
public
AStarPathFinder
(ITiledMap<T> pTiledMap, int pMaxSearchDepth, boolean pAllowDiagonalMovement, IAStarHeuristic<T> pAStarHeuristic)
Public Methods
public
Path
findPath
(T pEntity, int pMaxCost, int pFromTileColumn, int pFromTileRow, int pToTileColumn, int pToTileRow)
Protected Methods
protected
boolean
isTileBlocked
(T pEntity, int pFromTileColumn, int pFromTileRow, int pToTileColumn, int pToTileRow)