๐Ÿ“ฆ Zeenobit / moonshine_core

๐Ÿ“„ plugin.rs ยท 13 lines
1
2
3
4
5
6
7
8
9
10
11
12
13use bevy_app::{PluginGroup, PluginGroupBuilder};

/// A [`PluginGroup`] which adds all the core plugins.
pub struct MoonshineCorePlugins;

impl PluginGroup for MoonshineCorePlugins {
    fn build(self) -> PluginGroupBuilder {
        PluginGroupBuilder::start::<Self>()
            .add(crate::util::defer::DefaultDeferredSystemsPlugin)
            .add(crate::tag::TagPlugin)
    }
}