VEndymionV

Game.h

Jan 8th, 2018
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.72 KB | None | 0 0
  1. #pragma once
  2. #include "Effect.h"
  3. #include "Model.h"
  4. #include "Texture2D.h"
  5. #include "Camera.hpp"
  6. #include "RenderTarget2D.h"
  7. #include "Quad.h"
  8. using namespace std;
  9.  
  10. class Game {
  11.     int direction;
  12.     float var;
  13.     float mov, scale;
  14.     Quad* quad;
  15.     Texture2D* tex;
  16.     RenderTarget2D* rtTMO;
  17.     RenderTarget2D* rt;
  18.  
  19.     Model* testModel;
  20.     float posX;
  21.     float posY;
  22.     float rotate;
  23.     float speed;
  24.  
  25.     Model* sceneModelBox;
  26.     int sceneWidth;
  27.     int sceneHeight;
  28.  
  29.  
  30.     Effect* shaderColor;
  31.     Effect* shaderTMO;
  32.     Effect* shaderTextureDrawer;
  33.     Camera camera;
  34.     glm::vec3 LightPosition;
  35.     float theta;
  36. public:
  37.     Game(void);
  38.     ~Game(void);
  39.     void Update();
  40.     void Init();
  41.     void Redraw();
  42.     void Input();
  43.     void drawScene( void );
  44. };
Add Comment
Please, Sign In to add comment