feat: rifle pickup added to map
This commit is contained in:
parent
2511ac69c0
commit
6b7a092961
8 changed files with 57 additions and 6 deletions
|
|
@ -6,6 +6,7 @@ void WeaponInventory::_bind_methods() {
|
|||
BIND_HPROPERTY(Variant::OBJECT, starting_weapon, PROPERTY_HINT_RESOURCE_TYPE, "PackedScene");
|
||||
BIND_PROPERTY(Variant::INT, pistol_ammo);
|
||||
BIND_PROPERTY(Variant::INT, rifle_ammo);
|
||||
ClassDB::bind_method(D_METHOD("pickup_weapon"), &self_type::pickup_weapon);
|
||||
}
|
||||
|
||||
void WeaponInventory::on_switch_input() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue