Struct sc2::TerrainInfo
[−]
[src]
pub struct TerrainInfo { pub width: i32, pub height: i32, pub pathing_grid: ImageData, pub placement_grid: ImageData, pub terrain_height: ImageData, pub playable_area: Rect2, pub enemy_start_locations: Vec<Point2>, }
terrain info
Fields
width: i32
width of the terrain
height: i32
height of the terrain
pathing_grid: ImageData
image that reveals pathable tiles
placement_grid: ImageData
image that reveals placable tiles
terrain_height: ImageData
image that reveals terrain height
playable_area: Rect2
rectangle of the playable area
enemy_start_locations: Vec<Point2>
starting locations of the enemy bases
Trait Implementations
impl Debug for TerrainInfo
[src]
impl Clone for TerrainInfo
[src]
fn clone(&self) -> TerrainInfo
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more