summaryrefslogtreecommitdiff
path: root/src/Controllers/SFMLController/SFMLController.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Controllers/SFMLController/SFMLController.cpp')
-rw-r--r--src/Controllers/SFMLController/SFMLController.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Controllers/SFMLController/SFMLController.cpp b/src/Controllers/SFMLController/SFMLController.cpp
index 3d5d4a1..bf4a069 100644
--- a/src/Controllers/SFMLController/SFMLController.cpp
+++ b/src/Controllers/SFMLController/SFMLController.cpp
@@ -57,7 +57,7 @@ void SFMLController::run(){
m_MainWindow.clearBG();
//m_game.swipe(kbdh::Direction::Left);
std::vector<std::vector<int> > aaa=m_game.getGrid();
- m_MainWindow.drawGrid(aaa,m_game.isOver());
+ m_MainWindow.drawGame(aaa,m_game.isOver(), m_game.getStats());
m_MainWindow.display();
//keyPress=this->waitArrowKeyPress();