1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
//! This crate implements functionality around game configuration:
//!
//! * Automatic (re)loading of the configuration from a YAML file (during
//!   MenuState::Loading state).
//!
//! * Parsing, validation and configuration provisioning.

mod conf;
mod io;
mod macros;
mod plugin;

use bevy::{app::PluginGroupBuilder, prelude::PluginGroup};
pub use conf::*;
use plugin::ConfPlugin;

pub struct ConfigPluginGroup;

impl PluginGroup for ConfigPluginGroup {
    fn build(self) -> PluginGroupBuilder {
        PluginGroupBuilder::start::<Self>().add(ConfPlugin)
    }
}