mirror of
https://codeberg.org/schrottkatze/mgd2-tram-championships.git
synced 2025-07-04 02:57:39 +00:00
add debug console initial implementation
This commit is contained in:
parent
cf63dd6e41
commit
cf05050c95
13 changed files with 709 additions and 51 deletions
|
@ -6,6 +6,7 @@ use crate::{
|
|||
};
|
||||
|
||||
mod camera;
|
||||
mod debug;
|
||||
mod scene;
|
||||
mod tram {
|
||||
use bevy::prelude::*;
|
||||
|
@ -28,6 +29,6 @@ pub fn plugin(app: &mut App) {
|
|||
OnExit(AppState::Ingame),
|
||||
despawn::<cleanup::Scene>.in_set(GameplaySet),
|
||||
)
|
||||
.add_plugins(camera::plugin);
|
||||
.add_plugins((debug::plugin, camera::plugin));
|
||||
app.configure_sets(Update, GameplaySet.run_if(in_state(AppState::Ingame)));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue