Client.h 924 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. #ifndef CLIENT_H
  2. #define CLIENT_H
  3. #include "../engine/Mesh.h"
  4. #include "../engine/TextureMesh.h"
  5. #include "../math/Vector3D.h"
  6. #include "../engine/Texture.h"
  7. class Client
  8. {
  9. public:
  10. static void start();
  11. private:
  12. Client();
  13. static void init();
  14. static void tick();
  15. static void renderTick(float lag);
  16. static Texture texture;
  17. static Texture texture2;
  18. static Mesh mesh;
  19. static TextureMesh tmesh;
  20. static Vector3D position;
  21. static float lengthAngle;
  22. static float widthAngle;
  23. static const int KEY_LEFT = 0;
  24. static const int KEY_RIGHT = 1;
  25. static const int KEY_UP = 2;
  26. static const int KEY_DOWN = 3;
  27. static const int KEY_JUMP = 4;
  28. static const int KEY_SNEAK = 5;
  29. static const int KEY_CAM_LEFT = 6;
  30. static const int KEY_CAM_RIGHT = 7;
  31. static const int KEY_CAM_UP = 8;
  32. static const int KEY_CAM_DOWN = 9;
  33. };
  34. #endif