Trait SettingsExt

Source
pub trait SettingsExt {
    // Required methods
    fn spawn_audio_settings(&mut self) -> Vec<Entity>;
    fn spawn_graphics_settings(&mut self) -> Vec<Entity>;
    fn spawn_game_settings(&mut self) -> Vec<Entity>;
}
Expand description

Helper trait for easy settings creation

Required Methods§

Source

fn spawn_audio_settings(&mut self) -> Vec<Entity>

Spawn basic audio settings

Source

fn spawn_graphics_settings(&mut self) -> Vec<Entity>

Spawn basic graphics settings

Source

fn spawn_game_settings(&mut self) -> Vec<Entity>

Spawn complete game settings

Implementations on Foreign Types§

Source§

impl SettingsExt for Commands<'_, '_>

Source§

fn spawn_audio_settings(&mut self) -> Vec<Entity>

Source§

fn spawn_graphics_settings(&mut self) -> Vec<Entity>

Source§

fn spawn_game_settings(&mut self) -> Vec<Entity>

Implementors§