summaryrefslogtreecommitdiff
path: root/src/player.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/player.h')
-rw-r--r--src/player.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/player.h b/src/player.h
index 12f9d268..6880ca20 100644
--- a/src/player.h
+++ b/src/player.h
@@ -116,6 +116,14 @@ class Player : public Being
// Character guild information
std::map<int, Guild*> mGuilds;
+ /**
+ * Triggers a visual/audio effect, such as `level up'
+ *
+ * \param effect_id ID of the effect to trigger
+ */
+ virtual void
+ triggerEffect(int effectId) { internalTriggerEffect(effectId, true, true); }
+
private:
bool mInParty;
};