#ifndef __PLAYER_H_ #define __PLAYER_H_ #include "Main.h" class Player { public: GLfloat walkbias; GLfloat walkbiasangle; GLfloat xpos; // Current xpos GLfloat ypos; // Current ypos GLfloat zpos; // Current zpos GLfloat xrot; // Current xrot GLfloat yrot; // Current yrot GLfloat zrot; // Current zrot bool jumping; // Are we currently jumping float jump_velocity; //Current jump velocity float run_velocity; //Run velocity of player GLdouble heading; // Current player heading Player(); //Setup camera ~Player(); void warpPlayer(GLfloat x,GLfloat y,GLfloat z); void rotatePlayer(GLfloat x,GLfloat y,GLfloat z); private: }; #endif