summaryrefslogtreecommitdiff
path: root/src/being.h
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2008-12-03 12:30:11 -0700
committerIra Rice <irarice@gmail.com>2008-12-03 12:30:11 -0700
commit68926c15e6d31c4af90bce9ec57aa39f839d7d6b (patch)
tree18fc1553fabfe16022950facf16422afd191fa01 /src/being.h
parent414afae670d09e34a4b5c0528c9ca6c3abb03124 (diff)
downloadmana-68926c15e6d31c4af90bce9ec57aa39f839d7d6b.tar.gz
mana-68926c15e6d31c4af90bce9ec57aa39f839d7d6b.tar.bz2
mana-68926c15e6d31c4af90bce9ec57aa39f839d7d6b.tar.xz
mana-68926c15e6d31c4af90bce9ec57aa39f839d7d6b.zip
Add an effects manager (patch by Kage Jittai)
NOTE: This patch demonstrates the need to fix pixel coordinates in the eAthena client. Bjorn did the movement patch in the TMWClient, however, I still haven't got that fully working with the merges. It's likely that a clone will be developed to tackle this problem. Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/being.h')
-rw-r--r--src/being.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/being.h b/src/being.h
index 325ec51a..958e8f60 100644
--- a/src/being.h
+++ b/src/being.h
@@ -29,6 +29,7 @@
#include <vector>
#include "animatedsprite.h"
+#include "effectmanager.h"
#include "map.h"
#include "sprite.h"
@@ -358,15 +359,6 @@ class Being : public Sprite
mEmotionTime = emote_time;
}
- /**
- * Triggers a visual effect, such as `level up'
- *
- * Only draws the visual effect, does not play sound effects
- *
- * \param effectId ID of the effect to trigger
- */
- virtual void triggerEffect(int effectId) { internalTriggerEffect(effectId, false, true); }
-
// Target cursor being used by the being
Image *mTargetCursor;