diff options
Diffstat (limited to 'Player.cpp')
-rw-r--r-- | Player.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -7,7 +7,9 @@ Player::Player() { } void Player::jump() { - std::cout << "Player::jump(): Jumping!.\n"; + if (!yVel) { + incYVel(-JUMP_STRENGTH); + } } void Player::kill() { |