Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef _TSCREEN_H_
- #define _TSCREEN_H_
- #include "TButton.h"
- #include <vector>
- #include <SDL.h>
- #include "LInput.h"
- #include <string>
- //std::vector<TScreen> Screens;
- //Screens[currentScreen].Show(gRenderer, Input)
- class TScreen {
- private:
- std::vector<TButton> mScreenButtons;
- SDL_Color mBackgroundColor;
- std::string mScreenTitle;
- public:
- TScreen( std::vector<TButton> buttons, const SDL_Color &bgColor);
- void Show(SDL_Renderer * rend, const LInput& input, const float & deltaTime);
- };
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement