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
28
29
30
31
32
33
34
35
36
37
//! This crate implements functionality around map object handling, mostly
//! object asset caching and pre-loading.

use bevy::{app::PluginGroupBuilder, prelude::PluginGroup};
pub use cannon::LaserCannon;
pub use collection::AssetCollection;
pub use collider::ObjectCollider;
pub use flight::Flight;
use health::HealthPlugin;
pub use health::{Health, InitialHealths};
pub use ichnography::{Ichnography, EXCLUSION_OFFSET};
use scenes::ScenesPlugin;
pub use scenes::{SceneType, Scenes};
use solids::SolidsPlugin;
pub use solids::{SolidObject, SolidObjects};

mod cannon;
mod collection;
mod collider;
mod factory;
mod flight;
mod health;
mod ichnography;
mod names;
mod scenes;
mod solids;

pub struct ObjectsPluginGroup;

impl PluginGroup for ObjectsPluginGroup {
    fn build(self) -> PluginGroupBuilder {
        PluginGroupBuilder::start::<Self>()
            .add(ScenesPlugin)
            .add(SolidsPlugin)
            .add(HealthPlugin)
    }
}