~starkingdoms/starkingdoms

ref: acd7621cd003ebaf380f59fdceaa9459ba91fcb2 starkingdoms/crates/unified/src/server/plugins.rs -rw-r--r-- 329 bytes
acd7621c — core chore(netcode-rewrite): further code cleanup & simplification 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)
    }
}