feat: work on running and weapon inventory
This commit is contained in:
parent
43c5863e89
commit
6cdb2cbd4f
7 changed files with 58 additions and 3 deletions
10
modules/wave_survival/weapon_inventory.cpp
Normal file
10
modules/wave_survival/weapon_inventory.cpp
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
#include "weapon_inventory.h"
|
||||
|
||||
void WeaponInventory::_bind_methods() {}
|
||||
|
||||
void WeaponInventory::on_switch_input() {
|
||||
this->current = (this->current + 1) % 1;
|
||||
this->select_weapon(this->weapons[this->current]);
|
||||
}
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue