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 of the terrain

height of the terrain

image that reveals pathable tiles

image that reveals placable tiles

image that reveals terrain height

rectangle of the playable area

starting locations of the enemy bases

Trait Implementations

impl Debug for TerrainInfo
[src]

[src]

Formats the value using the given formatter.

impl Clone for TerrainInfo
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more