diff --git a/src/constants.rs b/src/constants.rs new file mode 100644 index 0000000..747a08d --- /dev/null +++ b/src/constants.rs @@ -0,0 +1,12 @@ +//! Program constants & defaults + +use bevy::prelude::*; + +#[derive(Debug, Reflect, Resource)] +struct ConfigDefaults {} + +impl FromWorld for ConfigDefaults { + fn from_world(world: &mut World) -> Self { + todo!() + } +} diff --git a/src/main.rs b/src/main.rs index c3ac2fb..15f823e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -2,6 +2,8 @@ use bevy::{prelude::*, window::WindowResolution}; use bevy_inspector_egui::{bevy_egui::EguiPlugin, quick::WorldInspectorPlugin}; mod card; +mod constants; +mod widgets; fn main() { App::new() diff --git a/src/widgets.rs b/src/widgets.rs new file mode 100644 index 0000000..f127cc1 --- /dev/null +++ b/src/widgets.rs @@ -0,0 +1 @@ +//! Catch-all location for UI bits