diff options
| author | manzerbredes <loic.guegan_secondary@yahoo.fr> | 2015-05-04 14:00:54 +0200 |
|---|---|---|
| committer | manzerbredes <loic.guegan_secondary@yahoo.fr> | 2015-05-04 14:00:54 +0200 |
| commit | 164d94eec1b88f0e9a466585b512fc8dca4c80ed (patch) | |
| tree | d32f93d24a13a4be2eaf14559217c1fccdb5e6a9 /src/Controllers/SFMLController/SFMLController.cpp | |
| parent | 1bebaf0f924c83bfb5a91bafefcb69d98e3b8b05 (diff) | |
Add stats class, make a functionnal SFML game
Diffstat (limited to 'src/Controllers/SFMLController/SFMLController.cpp')
| -rw-r--r-- | src/Controllers/SFMLController/SFMLController.cpp | 2 |
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(); |
