summaryrefslogtreecommitdiff
path: root/src/Controllers
diff options
context:
space:
mode:
authormanzerbredes <loic.guegan_secondary@yahoo.fr>2015-05-02 18:15:14 +0200
committermanzerbredes <loic.guegan_secondary@yahoo.fr>2015-05-02 18:15:14 +0200
commit27d646af15bc9147a141aced8cebd30668de9a8e (patch)
tree81fab7651570910f9232e90b50ba43c061585858 /src/Controllers
parent6b8a144bd192de206e11a171841ec6161d11b6aa (diff)
Restart project
Diffstat (limited to 'src/Controllers')
-rw-r--r--src/Controllers/ConsoleController/ConsoleController.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Controllers/ConsoleController/ConsoleController.cpp b/src/Controllers/ConsoleController/ConsoleController.cpp
index 4ee4965..bca3ad8 100644
--- a/src/Controllers/ConsoleController/ConsoleController.cpp
+++ b/src/Controllers/ConsoleController/ConsoleController.cpp
@@ -26,7 +26,7 @@ void ConsoleController::play()
//Start game
while (1)
{
- std::cout << m_game->isOver();
+ std::cout << "Game over : " << m_game->isOver() << "fin";
//Get key press
keyPress=this->waitArrowKeyPress();
@@ -47,6 +47,7 @@ void ConsoleController::play()
break;
case kbdh::Right:
std::cout << "Keypress : Right" << std::endl;
+ m_game->swipeRight();
break;
}