oh, i didnt know enums could be found like that.I stand corrected. your variables however should be set the other way around. item::type = type; and item::amount = amount;
that being said, what is the error it shows you?
oh, i didnt know enums could be found like that.I stand corrected. your variables however should be set the other way around. item::type = type; and item::amount = amount;
that being said, what is the error it shows you?