User profile: mobat

User info
User name:mobat
History
Joined:
Number of posts:63
Latest posts:

Am I writing my code efficiently?
Yes GTM, when you equip weapons, it goes into the vector which is in the gear class. Each weapon or ...

Am I writing my code efficiently?
I started writing a base to a text base adventure game and I was wondering since I am pretty far in ...

Looping Iterator problem
I have code which looks like this: [code] void Gear::equipArmor(Armor* &armor) { bool found =...

Add any object in Vector
Sorry I didn't explain it very well. I know I can do this but if I were to do this, then I cannot ac...

Add any object in Vector
I have a class structure which is Armor->Weapon->Item . So The Weapon inherits Item and Armor inheri...