#pragma once #include "text_only_button.hpp" #include "../../headers/spriteobject.hpp" namespace asloengine { class Button : public TextOnlyButton, public SpriteObject { public: float text_vertical_offset; Button(sf::String _name, sf::String _text, sf::Font& _font, sf::Texture& _texture, uint _text_size = 30); ~Button(); virtual void draw() override; virtual void on_main_property_update() override; virtual void on_start() override; }; }