#pragma once #include "Texture.h" class Button { public: Button() = default; Button(const std::string& filePath, Point2f pos, Point2f size); void Draw() const; void Update(float elapsedSec); private: Texture* m_Texture{ nullptr }; Point2f m_Position; Point2f m_Size; bool m_IsHovered{ false }; bool m_IsPressed{ false }; };