summaryrefslogtreecommitdiff
path: root/src/gui/dialogsmanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/dialogsmanager.h')
-rw-r--r--src/gui/dialogsmanager.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/gui/dialogsmanager.h b/src/gui/dialogsmanager.h
index b9625ae07..b45b3b12c 100644
--- a/src/gui/dialogsmanager.h
+++ b/src/gui/dialogsmanager.h
@@ -23,6 +23,7 @@
#ifndef GUI_DIALOGSMANAGER_H
#define GUI_DIALOGSMANAGER_H
+#include "listeners/attributelistener.h"
#include "listeners/playerdeathlistener.h"
#include <string>
@@ -31,7 +32,8 @@
class Window;
-class DialogsManager final : public PlayerDeathListener
+class DialogsManager final : public AttributeListener,
+ public PlayerDeathListener
{
public:
DialogsManager();
@@ -45,6 +47,10 @@ class DialogsManager final : public PlayerDeathListener
const bool modal);
void playerDeath() override final;
+
+ void attributeChanged(const int id,
+ const int oldVal,
+ const int newVal) override final;
};
extern DialogsManager *dialogsManager;