summaryrefslogtreecommitdiff
path: root/src/monster.cpp
diff options
context:
space:
mode:
authorGuillaume Melquiond <guillaume.melquiond@gmail.com>2006-08-27 16:23:36 +0000
committerGuillaume Melquiond <guillaume.melquiond@gmail.com>2006-08-27 16:23:36 +0000
commit1554a6749f2dbcd9b44aae1df3e320a06b049d4f (patch)
tree08efd4ca4dc8a81bb53894d138cf702fd1d40c55 /src/monster.cpp
parent8ca48faeb472bb6645ec18c7b2e0480e8e20435e (diff)
downloadmana-1554a6749f2dbcd9b44aae1df3e320a06b049d4f.tar.gz
mana-1554a6749f2dbcd9b44aae1df3e320a06b049d4f.tar.bz2
mana-1554a6749f2dbcd9b44aae1df3e320a06b049d4f.tar.xz
mana-1554a6749f2dbcd9b44aae1df3e320a06b049d4f.zip
Cleaned the logic members.
Diffstat (limited to 'src/monster.cpp')
-rw-r--r--src/monster.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/monster.cpp b/src/monster.cpp
index 26345a6c..aba242b6 100644
--- a/src/monster.cpp
+++ b/src/monster.cpp
@@ -35,20 +35,6 @@ Monster::Monster(Uint32 id, Uint16 job, Map *map):
mSprites[BASE_SPRITE] = new AnimatedSprite("graphics/sprites/monster" + toString(job - 1002) + ".xml", 0);
}
-void
-Monster::logic()
-{
- if (mAction != STAND)
- {
- if (get_elapsed_time(mWalkTime) >= mWalkSpeed && mAction != MONSTER_DEAD)
- {
- nextStep();
- }
- }
-
- Being::logic();
-}
-
Being::Type
Monster::getType() const
{