22 #ifndef FIFE_PATHFINDER_ROUTEPATHERSEARCH 23 #define FIFE_PATHFINDER_ROUTEPATHERSEARCH int32_t getSearchStatus() const
A small function which returns the current status of the search.
Route * getRoute()
Returns the associated route for this search.
void setSearchStatus(const SearchStatus status)
Sets the current status of the search.
RoutePatherSearch(Route *route, const int32_t sessionId)
Constructor.
bool m_specialCost
Indicates if the search should use special costs.
SearchStatus
An enumeration of the different status the search can be in.
virtual ~RoutePatherSearch()
std::vector< Cell * > m_ignoredBlockers
Blockers from a multi cell object which should be ignored.
bool m_ignoreDynamicBlockers
Indicates if dynamic blockers should be ignored.
virtual void calcPath()=0
Calculates final path.
virtual void updateSearch()=0
Updates the search.
SearchStatus m_status
An enumeration of the searches current status.
int32_t getSessionId() const
Retrieves the session id.
RoutePatherSearch using A*.
bool m_multicell
Indicates if the route is for a multi cell object.
int32_t m_sessionId
An integer containing the session id for this search.
Route * m_route
Pointer to route.