add SwapLoadout

This commit is contained in:
Adam Whitehurst
2020-03-21 10:26:38 -07:00
parent 7eaf6f664b
commit 180ec89060
6 changed files with 45 additions and 4 deletions

View File

@ -125,6 +125,7 @@ pub struct ControllerInputs {
pub wall_leap: Input,
pub respawn: Input,
pub toggle_wield: Input,
pub swap_loadout: Input,
pub charge: Input,
pub move_dir: Vec2<f32>,
pub look_dir: Vec3<f32>,
@ -151,6 +152,7 @@ impl ControllerInputs {
self.wall_leap.tick(dt);
self.respawn.tick(dt);
self.toggle_wield.tick(dt);
self.swap_loadout.tick(dt);
self.charge.tick(dt);
}