#pragma once #include #include "Screen.h" class ChatScreen : public Screen { protected: std::string message; private: int frame; public: ChatScreen(); // 4J added virtual void init() override; virtual void removed() override; virtual void tick() override; private: static const std::string allowedChars; protected: void keyPressed(char ch, int eventKey) override; public: void render(int xm, int ym, float a) override; protected: void mouseClicked(int x, int y, int buttonNum) override; };