summaryrefslogtreecommitdiff
path: root/src/View/MainWindow.hpp
diff options
context:
space:
mode:
authormanzerbredes <loic.guegan_secondary@yahoo.fr>2015-05-04 14:00:54 +0200
committermanzerbredes <loic.guegan_secondary@yahoo.fr>2015-05-04 14:00:54 +0200
commit164d94eec1b88f0e9a466585b512fc8dca4c80ed (patch)
treed32f93d24a13a4be2eaf14559217c1fccdb5e6a9 /src/View/MainWindow.hpp
parent1bebaf0f924c83bfb5a91bafefcb69d98e3b8b05 (diff)
Add stats class, make a functionnal SFML game
Diffstat (limited to 'src/View/MainWindow.hpp')
-rw-r--r--src/View/MainWindow.hpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/View/MainWindow.hpp b/src/View/MainWindow.hpp
index 729b961..072a7ec 100644
--- a/src/View/MainWindow.hpp
+++ b/src/View/MainWindow.hpp
@@ -5,6 +5,7 @@
#include <vector>
#include <string>
#include <sstream>
+#include "../Model/Stats.hpp"
#include <SFML/Window.hpp>
#include <SFML/Graphics.hpp>
@@ -36,5 +37,7 @@ class MainWindow : public sf::RenderWindow{
void drawGameOver(int gridX, int griY);
- void drawATH();
+ void drawATH(Stats stats);
+
+ void drawGame(std::vector<std::vector<int> > grid, bool gameIsOver, Stats stats);
};