mirror of
https://github.com/eliasstepanik/voxel-simulation.git
synced 2026-01-12 06:18:29 +00:00
23 lines
667 B
Rust
23 lines
667 B
Rust
|
|
use bevy::app::{App, Plugin, PreUpdate, Startup};
|
|
use bevy::ecs::schedule::IntoScheduleConfigs;
|
|
use bevy::prelude::Update;
|
|
|
|
pub struct InputPlugin;
|
|
impl Plugin for InputPlugin {
|
|
fn build(&self, _app: &mut App) {
|
|
_app.add_systems(
|
|
Update,
|
|
(
|
|
crate::plugins::input::systems::flight::flight_systems,
|
|
crate::plugins::input::systems::ui::ui_system,
|
|
//crate::plugins::input::systems::network::network_system,
|
|
crate::plugins::input::systems::movement::movement_system,
|
|
crate::plugins::input::systems::voxels::voxel_system
|
|
|
|
),
|
|
|
|
);
|
|
}
|
|
}
|