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:
parent
28d19d80a2
commit
db441000f8
2 changed files with 63 additions and 5 deletions
6
gui.hpp
6
gui.hpp
|
@ -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);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue