diff options
Diffstat (limited to 'include/graphics.hpp')
| -rw-r--r-- | include/graphics.hpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/graphics.hpp b/include/graphics.hpp index 44f631c..ccebdae 100644 --- a/include/graphics.hpp +++ b/include/graphics.hpp @@ -3,6 +3,10 @@ #include <string> #include <iostream> +#include <vector> +#include <map> +#include <utility> +#include <utility> #include <SDL2/SDL.h> #include <SDL2/SDL_ttf.h> #include "game.hpp" @@ -28,8 +32,12 @@ class Graphics SDL_Renderer *renderer; SDL_Window *window; TTF_Font *font; + std::vector< std::pair<int, SDL_Texture*> > numberTexBuf; + std::map< int, SDL_Color > palette; void handleEvent(); + SDL_Texture *addNumberTex(int n); + SDL_Texture *getNumberTex(int n); void error(); }; |
