Struct sc2::data::MapInfo
[−]
[src]
pub struct MapInfo { /* fields omitted */ }
terrain info
Methods
impl MapInfo
[src]
pub fn get_dimensions(&self) -> (u32, u32)
[src]
dimensions of the map
pub fn get_pathing_grid(&self) -> &ImageData
[src]
image that reveals pathable tiles
pub fn get_placement_grid(&self) -> &ImageData
[src]
image that reveals placable tiles
pub fn get_terrain_height(&self) -> &ImageData
[src]
image that reveals terrain height
pub fn get_playable_area(&self) -> Rect2
[src]
rectangle of the playable area
pub fn get_enemy_start_locations(&self) -> &[Point2]
[src]
starting locations of the enemy bases
Trait Implementations
impl Debug for MapInfo
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more