mirror of
https://github.com/eliasstepanik/voxel-simulation.git
synced 2026-01-11 22:08:29 +00:00
13 lines
420 B
Rust
13 lines
420 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::*;
|
|
pub struct EnvironmentPlugin;
|
|
impl Plugin for EnvironmentPlugin {
|
|
fn build(&self, app: &mut App) {
|
|
app.add_systems(Startup, init);
|
|
app.add_systems(Update, sync_entities_system);
|
|
}
|
|
}
|