summaryrefslogtreecommitdiff
path: root/src/being.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/being.h')
-rw-r--r--src/being.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/being.h b/src/being.h
index a870ff0b..72c0d8b2 100644
--- a/src/being.h
+++ b/src/being.h
@@ -30,6 +30,7 @@
#include <string>
#include <vector>
+#include "configlistener.h"
#include "map.h"
#include "particlecontainer.h"
#include "position.h"
@@ -68,7 +69,7 @@ enum Gender
GENDER_UNSPECIFIED = 2
};
-class Being : public Sprite
+class Being : public Sprite, public ConfigListener
{
public:
enum Type
@@ -509,6 +510,8 @@ class Being : public Sprite
static void load();
+ void optionChanged(const std::string &value) {}
+
protected:
/**
* Sets the new path for this being.