diff options
-rw-r--r-- | Level.cpp | 8 | ||||
-rw-r--r-- | Monster.cpp | 1 | ||||
-rw-r--r-- | Player.cpp | 1 | ||||
-rw-r--r-- | main.cpp | 2 |
4 files changed, 0 insertions, 12 deletions
@@ -13,14 +13,6 @@ Level::Level() { } void Level::changeLevel(int levelNo) { - std::cout << "Level::changeLevel(): Loading level " << levelNo << ".\n"; - - // Creating some objects for fun/demonstration purposes - Monster monster1; - Pickup pickup1; - Hazard hazard1; - Platform platform1; - // Load background image if (!(background = loadImage("space.png"))) std::cout << "Level::changeLevel: Error loading background image.\n"; diff --git a/Monster.cpp b/Monster.cpp index d268262..48af20e 100644 --- a/Monster.cpp +++ b/Monster.cpp @@ -6,7 +6,6 @@ Monster::Monster() { } void Monster::kill() { - std::cout << "Monster::kill(): Killing monster.\n"; health = 0; isVisible = false; } @@ -13,7 +13,6 @@ void Player::jump() { } void Player::kill() { - std::cout << "Player::kill(): Killing player, resetting to start position.\n"; health = 0; // Do resetting stuff } @@ -47,7 +47,6 @@ int main(int argc, char* args[]) { break; case SDLK_LCTRL: level.player.setSprint(true); - std::cout << "Running...\n"; break; } } else if (event.type == SDL_KEYUP) { @@ -61,7 +60,6 @@ int main(int argc, char* args[]) { break; case SDLK_LCTRL: level.player.setSprint(false); - std::cout << "Stop running.\n"; break; } } |