diff options
| author | manzerbredes <loic.guegan_secondary@yahoo.fr> | 2015-05-05 16:30:46 +0200 |
|---|---|---|
| committer | manzerbredes <loic.guegan_secondary@yahoo.fr> | 2015-05-05 16:30:46 +0200 |
| commit | 1220e2d70f40139bed69602041ba373297103573 (patch) | |
| tree | 49a2443cdacee9c35abfa005a5d703ba7efa6e23 /src/View/MainWindow.hpp | |
| parent | f7610d669bcf3986827a905fc4bc03946be0b0c6 (diff) | |
Add loadable skin and correct some things
Diffstat (limited to 'src/View/MainWindow.hpp')
| -rw-r--r-- | src/View/MainWindow.hpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/View/MainWindow.hpp b/src/View/MainWindow.hpp index 072a7ec..3eacd54 100644 --- a/src/View/MainWindow.hpp +++ b/src/View/MainWindow.hpp @@ -6,10 +6,10 @@ #include <string> #include <sstream> #include "../Model/Stats.hpp" +#include "../Helpers/Skin.hpp" #include <SFML/Window.hpp> #include <SFML/Graphics.hpp> - class MainWindow : public sf::RenderWindow{ private: @@ -26,6 +26,8 @@ class MainWindow : public sf::RenderWindow{ sf::Vector2u m_gridPosition; int m_spaceBetweenCell; + std::string m_skinName; + public: MainWindow(int width, int height, std::string title); ~MainWindow(); @@ -39,5 +41,6 @@ class MainWindow : public sf::RenderWindow{ void drawATH(Stats stats); + void MoveCell(); void drawGame(std::vector<std::vector<int> > grid, bool gameIsOver, Stats stats); }; |
