diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-01-24 19:45:33 +0100 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-01-24 19:45:33 +0100 |
commit | a18d4dcf1eb9abb9b4ed8060aefd14088ccb9680 (patch) | |
tree | d625a96d6d978d00644e9dd6ffd75e099eb43149 /src/player.cpp | |
parent | a928798a9326de1e6781e14c8ccf5abec1232385 (diff) | |
download | mana-a18d4dcf1eb9abb9b4ed8060aefd14088ccb9680.tar.gz mana-a18d4dcf1eb9abb9b4ed8060aefd14088ccb9680.tar.bz2 mana-a18d4dcf1eb9abb9b4ed8060aefd14088ccb9680.tar.xz mana-a18d4dcf1eb9abb9b4ed8060aefd14088ccb9680.zip |
Code reformatting
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) { |