diff options
Diffstat (limited to 'src/game-server/being.h')
-rw-r--r-- | src/game-server/being.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/game-server/being.h b/src/game-server/being.h index a08df018..d5a73588 100644 --- a/src/game-server/being.h +++ b/src/game-server/being.h @@ -299,6 +299,17 @@ class Being : public Actor sigc::signal<void, Being *> signal_died; + /** + * Activate an emote flag on the being. + */ + void triggerEmote(int id); + + /** + * Tells the last emote used. + */ + int getLastEmote() const + { return mEmoteId; } + protected: /** * Performs an attack @@ -342,6 +353,9 @@ class Being : public Actor /** Time until hp is regenerated again */ Timeout mHealthRegenerationTimeout; + + /** The last being emote Id. Used when triggering a being emoticon. */ + int mEmoteId; }; #endif // BEING_H |