1 #ifndef BLANK_SHARED_CHATSTATE_HPP_
2 #define BLANK_SHARED_CHATSTATE_HPP_
4 #include "../app/State.hpp"
6 #include "../ui/TextInput.hpp"
20 virtual void OnLineSubmit(const std::string &) = 0;
24 ChatState(Environment &env, State &parent, Responder &);
26 void Preset(const std::string &);
29 void OnResume() override;
30 void OnPause() override;
32 void OnResize(Viewport &) override;
34 void Handle(const SDL_Event &) override;
35 void Update(int dt) override;
36 void Render(Viewport &) override;