#pragma once #include "structs.h" #include "Texture.h" #include "../TextureManager.h" class Screen { public: Screen() = default; Screen(const std::string& filePath, Point2f pos, Point2f size, TextureManager* manager); ~Screen(); void setActive(bool active) { m_Active = active; } void toggleActive() { m_Active = !m_Active; } void Update(float elapsedSecs); void Draw() const; private: Point2f m_Position; Point2f m_Size; Texture* m_Background{ nullptr }; bool m_Active{ false }; };