Added in an initial test to blur the current screen for any pause actions, before doing a modal or new UI.

This commit is contained in:
Zed A. Shaw 2024-12-29 06:53:08 -05:00
parent 28d19d80a2
commit db441000f8
2 changed files with 63 additions and 5 deletions

View file

@ -50,6 +50,10 @@ class GUI {
SoundManager $sounds;
SFMLRender $renderer;
sf::Texture paused_texture;
sf::Sprite paused_sprite;
sf::Shader paused_shader;
public:
GUI(DinkyECS::World& world, Map& game_map);
// disable copying
@ -65,5 +69,7 @@ public:
void save_world();
void shake();
void shutdown();
void create_modal();
void draw_modal();
int main(bool run_once=false);
};