summaryrefslogtreecommitdiff
path: root/src/player.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-01-24 19:45:33 +0100
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-01-24 19:45:33 +0100
commita18d4dcf1eb9abb9b4ed8060aefd14088ccb9680 (patch)
treed625a96d6d978d00644e9dd6ffd75e099eb43149 /src/player.cpp
parenta928798a9326de1e6781e14c8ccf5abec1232385 (diff)
downloadmana-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.cpp9
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)
{