summaryrefslogtreecommitdiff
path: root/src/player.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/player.cpp')
-rw-r--r--src/player.cpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/player.cpp b/src/player.cpp
index 52f2cdb0..b635397e 100644
--- a/src/player.cpp
+++ b/src/player.cpp
@@ -42,26 +42,6 @@ Player::Player(Uint32 id, Uint16 job, Map *map):
new AnimatedSprite("graphics/sprites/weapons.xml", 0);
}
-void
-Player::logic()
-{
- switch (mAction) {
- case WALK:
- if (get_elapsed_time(mWalkTime) >= mWalkSpeed)
- {
- nextStep();
- }
- break;
- case ATTACK:
- if (get_elapsed_time(mWalkTime) >= mAttackSpeed)
- {
- nextStep();
- }
- break;
- }
- Being::logic();
-}
-
Being::Type
Player::getType() const
{