diff options
Diffstat (limited to 'src/game-server/being.h')
-rw-r--r-- | src/game-server/being.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/game-server/being.h b/src/game-server/being.h index 0083be1..a08df01 100644 --- a/src/game-server/being.h +++ b/src/game-server/being.h @@ -297,10 +297,7 @@ class Being : public Actor void setTarget(Being *target) { mTarget = target; } - /** - * Overridden in order to reset the old position upon insertion. - */ - virtual void inserted(); + sigc::signal<void, Being *> signal_died; protected: /** @@ -332,6 +329,11 @@ class Being : public Actor Being(const Being &rhs); Being &operator=(const Being &rhs); + /** + * Connected to signal_inserted to reset the old position. + */ + void inserted(Entity *); + Path mPath; BeingDirection mDirection; /**< Facing direction. */ |