#ammo stuff

1 messages · Page 1 of 1 (latest)

valid needle
#

as for the enum, it doesnt matter if its in a separate file. Whats line 13? theres no line numbers so i cant really tell

glacial anchor
#

I'm just wondering if ammoType is supposed to be replaced with ammo which is initialised in public AmmoType ammo; but I don't understand the point of calling it ammo if it's outside the scope of the method

valid needle
#

inside the function, its doing ammo.Spend but thats of type AmmoInventory, not the enum

glacial anchor
valid needle
#

yea that should be fine, tbh i didnt fully read/understand the code but that first parameter looks like its trying to take the enum

glacial anchor
#

Okay I think I should do private AmmoInventory ammoInventory then do if(some event){ fire(ammoIventory)}?

#

Okay looks like it works