From a1b7e08a00a9dfcf3596252f5565eea170fd4c71 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 4 Apr 2013 22:22:22 +0300 Subject: Remove dead code from actorsprite class. --- src/actorsprite.h | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'src/actorsprite.h') diff --git a/src/actorsprite.h b/src/actorsprite.h index 4a9723353..a09191dfc 100644 --- a/src/actorsprite.h +++ b/src/actorsprite.h @@ -132,15 +132,6 @@ public: void untarget() { mUsedTargetCursor = nullptr; } - /** - * 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(const int effectId) - { internalTriggerEffect(effectId, false, true); } - /** * Sets the actor's stun mode. If zero, the being is `normal', otherwise it * is `stunned' in some fashion. @@ -189,16 +180,6 @@ public: void removeActorSpriteListener(ActorSpriteListener *const listener); protected: - /** - * Trigger visual effect, with components - * - * \param effectId ID of the effect to trigger - * \param sfx Whether to trigger sound effects - * \param gfx Whether to trigger graphical effects - */ - void internalTriggerEffect(const int effectId, const bool sfx, - const bool gfx); - /** * Notify self that the stun mode has been updated. Invoked by * setStunMode if something changed. -- cgit v1.2.3-60-g2f50