Struct sc2::data::GameSetup [−][src]
pub struct GameSetup { /* fields omitted */ }Settings for a game.
Methods
impl GameSetup[src]
impl GameSetuppub fn new(map: Map) -> Self[src]
pub fn new(map: Map) -> SelfCreate a game setup for the given map.
pub fn get_map(&self) -> &Map[src]
pub fn get_map(&self) -> &MapGet the map.
Trait Implementations
impl Debug for GameSetup[src]
impl Debug for GameSetupfn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
fn fmt(&self, __arg_0: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for GameSetup[src]
impl Clone for GameSetup