An error occurred while loading the file. Please try again.
-
Сулимов Игорь Андреевич authored920b8ccf
#pragma once
#include "IDrawable.h"
class Button: public IDrawable {
public:
void set();
void select();
void unselect();
bool is_selected();
void is_position_in(sf::Vector2f pos);
void push();
void draw_into(sf::RenderWindow& window) const override;
private:
sf::Text m_text;
bool m_is_selected = false;
sf::RectangleShape m_rectangle;
};