diff options
| author | manzerbredes <loic.guegan_secondary@yahoo.fr> | 2015-05-04 12:55:15 +0200 |
|---|---|---|
| committer | manzerbredes <loic.guegan_secondary@yahoo.fr> | 2015-05-04 12:55:15 +0200 |
| commit | 3384204edca8720958b7d20c72956037b03238ae (patch) | |
| tree | bdb4d6dba1a468335c4f5977f40846a654e7b57e /src/Controllers/SFMLController | |
| parent | 6b37ae07ffe0d233b7ff54558d7d39e3e9035e0d (diff) | |
Clear some things
Diffstat (limited to 'src/Controllers/SFMLController')
| -rw-r--r-- | src/Controllers/SFMLController/SFMLController.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Controllers/SFMLController/SFMLController.cpp b/src/Controllers/SFMLController/SFMLController.cpp index e037c0b..3d5d4a1 100644 --- a/src/Controllers/SFMLController/SFMLController.cpp +++ b/src/Controllers/SFMLController/SFMLController.cpp @@ -56,7 +56,8 @@ void SFMLController::run(){ m_MainWindow.clearBG(); //m_game.swipe(kbdh::Direction::Left); - m_MainWindow.drawGrid(m_game.getGrid()); + std::vector<std::vector<int> > aaa=m_game.getGrid(); + m_MainWindow.drawGrid(aaa,m_game.isOver()); m_MainWindow.display(); //keyPress=this->waitArrowKeyPress(); |
