lyra-engine/src/lib.rs

24 lines
480 B
Rust
Raw Normal View History

pub mod game;
pub mod render;
pub mod input_event;
pub mod resources;
pub mod ecs;
pub mod math;
pub mod input;
2023-09-09 14:51:58 +00:00
pub mod castable_any;
pub mod plugin;
use plugin::Plugin;
use crate::input::InputPlugin;
/// Default plugins of Lyra. Make sure to have these added to the Game first
#[derive(Default)]
pub struct DefaultPlugins;
impl Plugin for DefaultPlugins {
fn setup(&self, game: &mut game::Game) {
// setup input
InputPlugin::default().setup(game);
}
}