~starkingdoms/starkingdoms

ref: 97a7f3ed1ee67a9ce3a05f453237b1de04f459f6 starkingdoms/crates/unified/src/server/plugins.rs -rw-r--r-- 329 bytes
97a7f3ed — core chore(netcode-rewrite): code cleanups and refactoring 28 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
use bevy::app::{PluginGroup, PluginGroupBuilder};
use avian2d::PhysicsPlugins;
use avian2d::prelude::IslandPlugin;

pub struct ServerPluginGroup;

impl PluginGroup for ServerPluginGroup {
    fn build(self) -> PluginGroupBuilder {
        PluginGroupBuilder::start::<Self>()
            .add(crate::server::ServerPlugin)
    }
}