generated from 2ndbeam/bevy-template
feat: Proof-of-concept attack combo system
This commit is contained in:
parent
88a73275ff
commit
95276c070b
15 changed files with 391 additions and 60 deletions
|
|
@ -2,10 +2,11 @@
|
|||
|
||||
use bevy::prelude::*;
|
||||
use bevy_rapier2d::prelude::*;
|
||||
use bevy_trait_query::RegisterExt;
|
||||
use leafwing_input_manager::prelude::*;
|
||||
use seldom_state::prelude::*;
|
||||
|
||||
use crate::*;
|
||||
use crate::{*, player::weapon::*};
|
||||
|
||||
/// Plugin that connects everything needed for this prototype
|
||||
pub struct GamePlugin;
|
||||
|
|
@ -26,6 +27,7 @@ impl Plugin for GamePlugin {
|
|||
.add_systems(Update, (
|
||||
player::systems::handle_input,
|
||||
timer::update_bpm_timers,
|
||||
));
|
||||
))
|
||||
.register_component_as::<dyn Weapon, knife::Knife>();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue