-
Кукочкина София Александровна authored85b775f0
#pragma once
#include "drawable.h"
#include "../config.h"
#include "../command/command.h"
class Button : public IDrawable {
public:
Button() {}
void set(sf::Vector2f pos, sf::Vector2f button_size, const std::string text, size_t font_size,
std::unique_ptr<ISelectCommand>&& ptr_command) {}
void unselect() {}
bool is_selected() {}
bool is_position_in(sf::Vector2f pos) {}
void push() {}
void draw_into(sf::RenderWindow& window) const override {}
private:
sf::Text m_text;
sf::RectangleShape m_rectangle;
std::unique_ptr<ISelectCommand> m_ptr_command;
};