Advertisement
Guest User

game.h

a guest
Sep 30th, 2014
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. #pragma once
  2. #include "Box2D\Box2D.h"
  3. #include "SDL.h"
  4. #include "Platform.h"
  5. #include "Player.h"
  6. #include "BasePickup.h"
  7. #include "Enemy.h"
  8. #include <ctime>
  9. #include "GameObjects.h"
  10. #include <string>
  11. #include <array>
  12.  
  13.  
  14. class Game
  15. {
  16. private:
  17. void setupGameMap();
  18. public:
  19.  
  20. std::clock_t TotalTimeElapsed;
  21. b2World* mWorld;
  22. Game(SDL_Renderer* renderer, SDL_Texture* texture,b2World* world);
  23. ~Game(void);
  24. SDL_Renderer* mRenderer;
  25. SDL_Texture* mTexture;
  26. bool Update(SDL_Event eventHandler, std::clock_t timeElapsed);
  27. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement