summaryrefslogtreecommitdiff
path: root/src/game-server/movingobject.hpp
diff options
context:
space:
mode:
authorGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-08-18 22:01:11 +0000
committerGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-08-18 22:01:11 +0000
commit2ae3f3a3ef5caee193138a3e5c1613403302089c (patch)
tree7262439ae9099c76e558894e992f38199d9a5a2f /src/game-server/movingobject.hpp
parentea118bf61623bcfae4b405d1bb2381b8d80d2837 (diff)
downloadmanaserv-2ae3f3a3ef5caee193138a3e5c1613403302089c.tar.gz
manaserv-2ae3f3a3ef5caee193138a3e5c1613403302089c.tar.bz2
manaserv-2ae3f3a3ef5caee193138a3e5c1613403302089c.tar.xz
manaserv-2ae3f3a3ef5caee193138a3e5c1613403302089c.zip
First part of a patch for completing the RPG system (character attributes) of TMWserv.
Diffstat (limited to 'src/game-server/movingobject.hpp')
-rw-r--r--src/game-server/movingobject.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game-server/movingobject.hpp b/src/game-server/movingobject.hpp
index 2763c530..abad313a 100644
--- a/src/game-server/movingobject.hpp
+++ b/src/game-server/movingobject.hpp
@@ -105,6 +105,11 @@ class MovingObject : public Object
{ return mSize; }
/**
+ * Performs actions scheduled by the object.
+ */
+ virtual void perform() {}
+
+ /**
* Moves the object toward its destination.
*/
virtual void move();