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§
Sourcefn spawn_audio_settings(&mut self) -> Vec<Entity>
fn spawn_audio_settings(&mut self) -> Vec<Entity>
Spawn basic audio settings
Sourcefn spawn_graphics_settings(&mut self) -> Vec<Entity>
fn spawn_graphics_settings(&mut self) -> Vec<Entity>
Spawn basic graphics settings
Sourcefn spawn_game_settings(&mut self) -> Vec<Entity>
fn spawn_game_settings(&mut self) -> Vec<Entity>
Spawn complete game settings