Skip to content

Commit 44c5287

Browse files
committed
Removed some debugging output
1 parent 2fcef68 commit 44c5287

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/GameController.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,11 @@ GameController::GameController(GameBoard& model, GameView& view) : model(model),
1010
view.addElement(makeViewButtonColor([&](ScreenCoordinate coord) {
1111
placingRoads = true;
1212
placingCities = false;
13-
std::cout << __PRETTY_FUNCTION__ << std::endl;
1413
return true;
1514
}, {{0, 0}, {0.1, 0.1}}, std::make_tuple(1.f, 0.f, 0.f)));
1615
view.addElement(makeViewButtonColor([&](ScreenCoordinate coord) {
1716
placingRoads = false;
1817
placingCities = true;
19-
std::cout << __PRETTY_FUNCTION__ << std::endl;
2018
return true;
2119
}, {{0, 0.1}, {0.1, 0.2}}, std::make_tuple(0.f, 1.0f, 0.f)));
2220
view.addElement(makeViewButton([this](ScreenCoordinate coord) { this->handleEvent(ClickCoordinateEvent(screenToCoord(coord))); return true; }, {{0, 0}, {1, 1}}));
@@ -41,7 +39,6 @@ void GameController::handleEvent(const ClickCoordinateEvent& event) {
4139
}
4240
}
4341
}*/
44-
std::cout << placingRoads << " " << placingCities << std::endl;
4542
if(placingRoads) {
4643
if(lastCoordClick.first == -100 && lastCoordClick.second == -100) {
4744
lastCoordClick = event.getCoordinate();

0 commit comments

Comments
 (0)