File diff r12908:a2ac74832276 → r12909:a9afef95ec7b
src/ai/api/ai_map.hpp
Show inline comments
 
@@ -11,25 +11,25 @@
 

	
 
#ifndef AI_MAP_HPP
 
#define AI_MAP_HPP
 

	
 
#include "ai_object.hpp"
 

	
 
/**
 
 * Class that handles all map related functions.
 
 */
 
class AIMap : public AIObject {
 
public:
 
#ifdef DEFINE_SCRIPT_FILES
 
	static const int TILE_INVALID = INVALID_TILE; //!< Invalid TileIndex.
 
	static const int TILE_INVALID = (int)INVALID_TILE; //!< Invalid TileIndex.
 
#endif /* DEFINE_SCRIPT_FILES */
 
#ifdef DOXYGEN_SKIP
 
	const static TileIndex TILE_INVALID; //!< Invalid TileIndex.
 
#endif /* DOXYGEN_SKIP */
 

	
 
	static const char *GetClassName() { return "AIMap"; }
 

	
 
	/**
 
	 * Checks whether the given tile is valid.
 
	 * @param tile The tile to check.
 
	 * @return True is the tile it within the boundaries of the map.
 
	 */