wave-survival/modules/wave_survival/weapon_inventory.cpp

11 lines
213 B
C++

#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]);
}