summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Level.cpp8
-rw-r--r--Monster.cpp1
-rw-r--r--Player.cpp1
-rw-r--r--main.cpp2
4 files changed, 0 insertions, 12 deletions
diff --git a/Level.cpp b/Level.cpp
index b67ed2c..e39ab30 100644
--- a/Level.cpp
+++ b/Level.cpp
@@ -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;
}
diff --git a/Player.cpp b/Player.cpp
index d5288ce..e38492d 100644
--- a/Player.cpp
+++ b/Player.cpp
@@ -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
}
diff --git a/main.cpp b/main.cpp
index 357edc4..ed0cb00 100644
--- a/main.cpp
+++ b/main.cpp
@@ -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;
}
}