Changeset - r14006:b09b022f1258
[Not reviewed]
master
0 1 0
smatz - 15 years ago 2009-12-20 00:53:22
smatz@openttd.org
(svn r18558) -Cleanup (r18557): no need to document TILE_INVALID twice
1 file changed with 0 insertions and 3 deletions:
0 comments (0 inline, 0 general)
src/ai/api/ai_map.hpp
Show inline comments
 
@@ -12,27 +12,24 @@
 
#ifndef AI_MAP_HPP
 
#define AI_MAP_HPP
 

	
 
#include "ai_object.hpp"
 
#include "../../tile_type.h"
 

	
 
/**
 
 * Class that handles all map related functions.
 
 */
 
class AIMap : public AIObject {
 
public:
 
	static const int TILE_INVALID = (int)INVALID_TILE; //!< Invalid TileIndex.
 
#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.
 
	 */
 
	static bool IsValidTile(TileIndex tile);
 

	
 
	/**
 
	 * Gets the number of tiles in the map.
0 comments (0 inline, 0 general)