#pragma once #include "MessageBoard.hpp" #include "Chatbar.hpp" #include #include namespace dchat { class Room; class Cache; class RoomContainer { public: RoomContainer(std::shared_ptr room); void processEvent(const sf::Event &event, Cache *cache); void draw(sf::RenderWindow &window, Cache *cache); std::shared_ptr room; MessageBoard messageBoard; Chatbar chatbar; bool offlineRoom; }; }