The images for my reactions to your bad code are now up. Went with a more 'pixel video' look than a pixel art hand drawn thing.

This commit is contained in:
Zed A. Shaw 2024-09-20 18:47:14 -04:00
parent 581e5b4a60
commit e1c667d816
12 changed files with 40 additions and 36 deletions

View file

@ -12,22 +12,23 @@ class GUI {
std::vector<string> _lines;
SoundQuip you_died_sound;
SoundQuip build_works_sound;
SoundQuip build_success_sound;
SoundQuip build_failed_sound;
SoundQuip building_sound;
SFMLBackend &gui;
public:
GUI();
GUI(SFMLBackend &backend);
// prevent copy
GUI(GUI &g) = delete;
void output(const string msg);
void main_loop(SFMLBackend &backend);
void main_loop();
void build_works();
void build_success();
void build_failed(bool play_sound, const string &command);
void you_died();
void building();