generated from 2ndbeam/bevy-template
feat: Collision groups and states
This commit is contained in:
parent
f6022d84b2
commit
88a73275ff
8 changed files with 108 additions and 3 deletions
|
|
@ -3,6 +3,7 @@
|
|||
use bevy::prelude::*;
|
||||
use bevy_rapier2d::prelude::*;
|
||||
use leafwing_input_manager::prelude::*;
|
||||
use seldom_state::prelude::*;
|
||||
|
||||
use crate::*;
|
||||
|
||||
|
|
@ -18,6 +19,8 @@ impl Plugin for GamePlugin {
|
|||
|
||||
InputManagerPlugin::<input::PlayerInput>::default(),
|
||||
InputManagerPlugin::<input::DebugInput>::default(),
|
||||
|
||||
StateMachinePlugin::default(),
|
||||
))
|
||||
.add_systems(Startup, setup)
|
||||
.add_systems(Update, (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue