src/ai/api/ai_pathfinder_stupid.hpp
branchnoai
changeset 9653 50e2eb4abf46
parent 9652 c15bf5355b95
equal deleted inserted replaced
9652:c15bf5355b95 9653:50e2eb4abf46
    25 
    25 
    26 	void *FindRoute(AITileList *start, AITileList *end);
    26 	void *FindRoute(AITileList *start, AITileList *end);
    27 	bool BuildRoute(void *result);
    27 	bool BuildRoute(void *result);
    28 	void FreeRoute(void *result);
    28 	void FreeRoute(void *result);
    29 
    29 
       
    30 	/** Keep the compilers happy */
       
    31 	virtual ~AIPathFinderStupid() {}
    30 private:
    32 private:
    31 	AIPathFinder::PathFinderType type;
    33 	AIPathFinder::PathFinderType type;
    32 
    34 
    33 	/**
    35 	/**
    34 	 * Internal storage of the pointer returned by FindRoute which can be given to BuildRoute.
    36 	 * Internal storage of the pointer returned by FindRoute which can be given to BuildRoute.