Elias Stepanik befbfb8935 Fixed Rotation and scale and rotation sync.
Moved Input To its own Plugin.
Moved the camera to the Environment Plugin
2025-04-21 17:35:00 +07:00

16 lines
545 B
Rust

use bevy::app::{App, Plugin, Startup};
use bevy::color::palettes::basic::{GREEN, YELLOW};
use bevy::color::palettes::css::RED;
use bevy::prelude::*;
use crate::plugins::environment::systems::environment_system::*;
use crate::plugins::network::systems::database::setup_database;
use crate::plugins::network::systems::entities::*;
pub struct NetworkPlugin;
impl Plugin for NetworkPlugin {
fn build(&self, app: &mut App) {
app.add_systems(PreStartup, setup_database);
app.add_systems(PostUpdate, sync_entities_system);
}
}