You made a mistake with your inclusion guards...
Code:
#ifndef PLAYERINVENT_H_INCLUDED
#define PLAYERINVENT_H_INCLUDED
#endif // PLAYERINVENT_H_INCLUDED
You basically told the compiler that you want the empty space inbetween the preprocessors to never be included multiple times in the same file to avoid compile time errors... You should place your code inbetween the preprocessors:
Code:
#ifndef PLAYER_H_INCLUDED
#define PLAYERINVENT_H_INCLUDED
... /*Code goes here*/
#endif // PLAYERINVENT_H_INCLUDED
I'm not sure that you fully understand the concept of them either?