use self::systems::build_settings;
use bevy::prelude::*;
use bevy_lunex::UiGenericPlugin;
use components::SettingsPgUi;
use resources::Settings;
pub mod components;
pub mod events;
pub mod resources;
pub mod styles;
pub mod systems;
pub struct SettingsUiPlugin;
impl Plugin for SettingsUiPlugin {
fn build(&self, app: &mut App) {
app.add_plugins((
UiGenericPlugin::<SettingsPgUi>::new(),
bevy_settings::SettingsPlugin::<Settings>::new("GkPixel", "Dreamlighters"),
))
.add_systems(Update, build_settings);
}
}