From 1554a6749f2dbcd9b44aae1df3e320a06b049d4f Mon Sep 17 00:00:00 2001 From: Guillaume Melquiond Date: Sun, 27 Aug 2006 16:23:36 +0000 Subject: Cleaned the logic members. --- src/monster.cpp | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'src/monster.cpp') 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 { -- cgit v1.2.3-70-g09d2