From 164d94eec1b88f0e9a466585b512fc8dca4c80ed Mon Sep 17 00:00:00 2001 From: manzerbredes Date: Mon, 4 May 2015 14:00:54 +0200 Subject: Add stats class, make a functionnal SFML game --- src/Controllers/SFMLController/SFMLController.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Controllers/SFMLController') 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 > 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(); -- cgit v1.2.3