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:

Code:
Class Player
{
public:
Player();      // constructor
~Player();   // deconstuctor
void PlayerFunction ( void )

private:
int health;
int age;

protected:
static GameEngine*	m_pGameEngine;   // pointer to GameEngine 

};
I would post more but there is over 13500 lines of code! lol

Any help appriciated