![]() |
SC2API
An API for AI for StarCraft II
|
Initial data for a game and map. More...
#include <sc2_map_info.h>
Public Attributes | |
| std::string | map_name |
| Plain text name of a map. Note that this may be different from the filename of the map. | |
| std::string | local_map_path |
| Filename of map. Includes the ".SC2Map" file extension. | |
| int | width |
| World width of a map. | |
| int | height |
| World height of a map. | |
| ImageData | pathing_grid |
| Grid showing which cells are pathable by units. | |
| ImageData | terrain_height |
| Height map of terrain. | |
| ImageData | placement_grid |
| Grid showing which cells can accept placement of structures. | |
| Point2D | playable_min |
| The minimum coordinates of playable space. Points less than this are not playable. | |
| Point2D | playable_max |
| The maximum coordinates of playable space. Points greater than this are not playable. | |
| std::vector< Point2D > | enemy_start_locations |
| Positions of possible enemy starting locations. | |
| std::vector< Point2D > | start_locations |
| InterfaceOptions | options |
| std::vector< PlayerInfo > | player_info |
Initial data for a game and map.
| InterfaceOptions sc2::GameInfo::options |
Types of data that will be in observations.
1.8.13