Player.h 305 B

12345678910111213141516171819202122232425
  1. #pragma once
  2. #include "Singleton.h"
  3. #include "Vector.h"
  4. class Model;
  5. class Player : public Singleton<Player>
  6. {
  7. public:
  8. Player();
  9. void setCamera();
  10. void setPosition(float angle, float fac, bool height);
  11. Vec3f position;
  12. Vec2f rotation;
  13. Model* leftWeapon;
  14. Model* rightWeapon;
  15. float speed;
  16. };