1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#![cfg_attr(debug_assertions, allow(dead_code, unused_variables))]

mod component_storage;
mod component;
pub(crate) mod mesh_rendering_component;
pub(crate) mod transform_component;
pub(crate) mod camera_component;
pub(crate) mod deferred_update_component;
pub(crate) mod input_component;
pub(crate) mod time_component;
pub(crate) mod audio_listener_component;
pub(crate) mod audio_source_component;
pub(crate) mod audio_manager_component;

// --- Use ---

pub use component:: {
    Component,
    GlobalComponent,
    ComponentDestroyer,
    ConcreteComponentDestroyer
};

pub use component_storage::{
    ComponentStorage,
    GlobalComponentStorage,
};