I compiled my class function for my player and my compiler generated an error I don't get:
ERROR: Unable to acsess member '*GameEngine' class declared 'protected'
Here is the code:
I would post more but there is over 13500 lines of code! lolCode:Class Player { public: Player(); // constructor ~Player(); // deconstuctor void PlayerFunction ( void ) private: int health; int age; protected: static GameEngine* m_pGameEngine; // pointer to GameEngine };
Any help appriciated