Fixed Player class, fixed #pragmas