#pragma once #include #include "game_engine.hpp" #include #include #include class GUI { vector lines; sf::Sound you_died_sound; sf::Sound build_works_sound; sf::Sound build_failed_sound; sf::Sound building_sound; sf::SoundBuffer you_died_buffer; sf::SoundBuffer build_works_buffer; sf::SoundBuffer build_failed_buffer; sf::SoundBuffer building_buffer; public: GUI(); void output(const string &msg); int main_loop(GameEngine &game, std::function runner); void build_works(); void build_failed(const string &command); void you_died(); void building(); };