Original Post
I have just finished defining and prototyping my weapons for my game. When I got to test it in a generic main file, it won't compile. Most of it is declared void and that causes some problems for some reason. Also, it says some of my class types name no type.
class GWeapon
{
protected:
unsigned int m_ammo;
....
class Rifle : public GWeapon
{
public:
...
static Rifle fireRate;
void Rifle wDamage;
};
...
I am wondering why it is doing this...can anyone help me?