pub struct MapSettings {
pub asteroids: AsteroidMapSettings,
pub enemy_evolution: EnemyEvolutionMapSettings,
pub enemy_expansion: EnemyExpansionMapSettings,
pub max_failed_behavior_count: u32,
pub path_finder: PathFinderMapSettings,
pub pollution: PollutionMapSettings,
pub unit_group: UnitGroupMapSettings,
}Expand description
Various game-related settings. Updating any of the attributes will immediately take effect in the game engine.
Fields§
§asteroids: AsteroidMapSettings§enemy_evolution: EnemyEvolutionMapSettings§enemy_expansion: EnemyExpansionMapSettings§max_failed_behavior_count: u32§path_finder: PathFinderMapSettings§pollution: PollutionMapSettings§unit_group: UnitGroupMapSettingsTrait Implementations§
Source§impl Clone for MapSettings
impl Clone for MapSettings
Source§fn clone(&self) -> MapSettings
fn clone(&self) -> MapSettings
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MapSettings
Source§impl Debug for MapSettings
impl Debug for MapSettings
Source§impl Default for MapSettings
impl Default for MapSettings
Source§fn default() -> MapSettings
fn default() -> MapSettings
Returns the “default value” for a type. Read more
Source§impl PartialEq for MapSettings
impl PartialEq for MapSettings
impl StructuralPartialEq for MapSettings
Auto Trait Implementations§
impl Freeze for MapSettings
impl RefUnwindSafe for MapSettings
impl Send for MapSettings
impl Sync for MapSettings
impl Unpin for MapSettings
impl UnsafeUnpin for MapSettings
impl UnwindSafe for MapSettings
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more