~starkingdoms/starkingdoms

ref: fe41c97bea51ac5122cf948b660f7c64c5bc90f6 starkingdoms/crates/unified/src/server/plugins.rs -rw-r--r-- 329 bytes
fe41c97b — core chore(netcode-rewrite): reorganize dependencies 29 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)
    }
}