summaryrefslogtreecommitdiff
path: root/src/listeners/playerlistener.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-29 20:33:10 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-29 20:33:10 +0300
commit9f1994182d4225f630a93ae06b01927c4f7a9a37 (patch)
treeb3557f6c6e6a923170929fd6553b59f872634291 /src/listeners/playerlistener.h
parentaef032f93b7bdc6e5908b2fa5f940a43bcfce50e (diff)
downloadplus-9f1994182d4225f630a93ae06b01927c4f7a9a37.tar.gz
plus-9f1994182d4225f630a93ae06b01927c4f7a9a37.tar.bz2
plus-9f1994182d4225f630a93ae06b01927c4f7a9a37.tar.xz
plus-9f1994182d4225f630a93ae06b01927c4f7a9a37.zip
Convert ActorType enum into strong typed enum.
Diffstat (limited to 'src/listeners/playerlistener.h')
-rw-r--r--src/listeners/playerlistener.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/listeners/playerlistener.h b/src/listeners/playerlistener.h
index 52527fafc..fd503da95 100644
--- a/src/listeners/playerlistener.h
+++ b/src/listeners/playerlistener.h
@@ -44,13 +44,13 @@ class PlayerListener final : public ActionListener
void setDialog(TextDialog *const dialog)
{ mDialog = dialog; }
- void setType(const ActorType::Type type)
+ void setType(const ActorTypeT type)
{ mType = type; }
private:
std::string mNick;
TextDialog *mDialog;
- ActorType::Type mType;
+ ActorTypeT mType;
};
#endif // LISTENERS_PLAYERLISTENER_H