Advertisement
Guest User

Untitled

a guest
Nov 22nd, 2017
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.51 KB | None | 0 0
  1. #ifndef _TSCREEN_H_
  2. #define _TSCREEN_H_
  3. #include "TButton.h"
  4. #include <vector>
  5. #include <SDL.h>
  6. #include "LInput.h"
  7. #include <string>
  8.  
  9. //std::vector<TScreen> Screens;
  10. //Screens[currentScreen].Show(gRenderer, Input)
  11.  
  12. class TScreen {
  13. private:
  14.     std::vector<TButton> mScreenButtons;
  15.     SDL_Color mBackgroundColor;
  16.     std::string mScreenTitle;
  17.  
  18. public:
  19.     TScreen( std::vector<TButton> buttons, const SDL_Color &bgColor);
  20.     void Show(SDL_Renderer * rend, const LInput& input, const float & deltaTime);
  21. };
  22.  
  23. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement