diff options
Diffstat (limited to 'src/core/player.hpp')
-rw-r--r-- | src/core/player.hpp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/core/player.hpp b/src/core/player.hpp new file mode 100644 index 0000000..408c174 --- /dev/null +++ b/src/core/player.hpp @@ -0,0 +1,21 @@ +#ifndef PLAYER_H +#define PLAYER_H +#include "smmath.hpp" +#include "smentity.hpp" +class playerBase +{ +private: + smEntity2D* playerent; + static SMELT* sm; +public: + smvec2d pos; + float rot,vel,velp; + int plyrctl[6]; + + playerBase(float _x=400,float _y=400); + ~playerBase(); + void update(); + void render(); +}; +extern playerBase* player; +#endif |