#include "mainmenu.h" #include "widgets/button.h" #include "widgets/group.h" MainMenu::MainMenu(sf::RenderWindow& game_window, Callbacks&& callbacks) : _buttons(std::make_shared()), _game_window(game_window) { const float window_width = game_window.getSize().x; const float window_height = game_window.getSize().y; std::shared_ptr