diff options
Diffstat (limited to 'src/player.cpp')
-rw-r--r-- | src/player.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/player.cpp b/src/player.cpp index 27820acf..ec3b1c1c 100644 --- a/src/player.cpp +++ b/src/player.cpp @@ -61,8 +61,7 @@ void Player::setName(const std::string &name) } } -void -Player::logic() +void Player::logic() { switch (mAction) { case WALK: @@ -89,14 +88,12 @@ Player::logic() Being::logic(); } -Being::Type -Player::getType() const +Being::Type Player::getType() const { return PLAYER; } -void -Player::flash(int time) +void Player::flash(int time) { if (mName) { |