BWAPI
Public Member Functions
MapDataReader Class Reference

#include <MapDataReader.h>

List of all members.

Public Member Functions

 MapDataReader ()
 ~MapDataReader ()
void readMap ()
int getDistance (TilePosition t1, TilePosition t2)

Detailed Description

This class handles load/save of additional mapdata not contained in bwapi/bwta. This is used to quick calculate ground distances between important regions like start positions.

Author: Johan Hagelback (johan.hagelback@gmail.com)


Constructor & Destructor Documentation

Constructor

Destructor


Member Function Documentation

Returns the ground distance between two positions. If not found in the data, bird distance is used.

Here is the call graph for this function:

Here is the caller graph for this function:

Reads the map file. If no file is found, a new is generated.

Here is the call graph for this function:


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Defines