X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;ds=sidebyside;f=src%2Fstandalone%2FMasterState.hpp;h=173c07cdd1e8208dd5939efb9b5842311a449650;hb=54f3f1260b95a924fcb40d9d6de3fa2e2c382f6f;hp=97834e6371db843f003fe5dbee5326a45452366c;hpb=b49cc8c88caf7d69b35b50e23a40528e71306ade;p=blank.git diff --git a/src/standalone/MasterState.hpp b/src/standalone/MasterState.hpp index 97834e6..173c07c 100644 --- a/src/standalone/MasterState.hpp +++ b/src/standalone/MasterState.hpp @@ -7,6 +7,7 @@ #include "PreloadState.hpp" #include "UnloadState.hpp" #include "../ai/Spawner.hpp" +#include "../app/ChatState.hpp" #include "../audio/SoundBank.hpp" #include "../graphics/SkyBox.hpp" #include "../shared/WorldResources.hpp" @@ -31,7 +32,8 @@ namespace standalone { class MasterState : public State -, public ClientController { +, public ClientController +, public ChatState::Responder { public: MasterState( @@ -59,6 +61,8 @@ public: void SetDebug(bool) override; void Exit() override; + void OnLineSubmit(const std::string &) override; + private: Config &config; Environment &env; @@ -82,6 +86,7 @@ private: PreloadState preload; UnloadState unload; + ChatState chat; };