diff options
author | Philipp Sehmisch <tmw@crushnet.org> | 2008-03-09 19:57:36 +0000 |
---|---|---|
committer | Philipp Sehmisch <tmw@crushnet.org> | 2008-03-09 19:57:36 +0000 |
commit | 5187bc6624b36e7e02e11299eb6cbdf4f8f21a56 (patch) | |
tree | c695ee6dcb0c2ea647f1f33f90bc2d64dad9f4bb /src/game-server/being.hpp | |
parent | 13a48effdbd44a3811f9bcbb0115776ec46c3dfa (diff) | |
download | manaserv-5187bc6624b36e7e02e11299eb6cbdf4f8f21a56.tar.gz manaserv-5187bc6624b36e7e02e11299eb6cbdf4f8f21a56.tar.bz2 manaserv-5187bc6624b36e7e02e11299eb6cbdf4f8f21a56.tar.xz manaserv-5187bc6624b36e7e02e11299eb6cbdf4f8f21a56.zip |
Sending the attack type with attack messages so that the client can visualize the different attacks monsters are using.
Diffstat (limited to 'src/game-server/being.hpp')
-rw-r--r-- | src/game-server/being.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/game-server/being.hpp b/src/game-server/being.hpp index 27da220a..b725bfee 100644 --- a/src/game-server/being.hpp +++ b/src/game-server/being.hpp @@ -172,6 +172,12 @@ class Being : public MovingObject { return mAction; } /** + * Gets the type of the attack the being is currently performing. + */ + virtual int getAttackType() const + { return 0; } + + /** * Moves the being toward its destination. */ void move(); |