A bit more cleanup, but still looking for more organization.

This commit is contained in:
Zed A. Shaw 2024-10-16 23:15:56 -04:00
parent e42647d727
commit 1bb8999610
6 changed files with 50 additions and 34 deletions

View file

@ -48,8 +48,6 @@ class GUI {
sf::Font $font;
sf::Text $ui_text;
sf::Text $map_text;
bool $shake_it = false;
bool $burn_baby_burn = false;
std::wstring_convert<std::codecvt_utf8_utf16<wchar_t>> $converter;
sf::RenderWindow $window;
Screen $screen;
@ -65,11 +63,12 @@ public:
sf::Color color(int val);
void create_renderer();
void render_scene();
void handle_events();
bool handle_events();
void draw_screen(bool clear=true, float map_off_x=0.0f, float map_off_y=0.0f);
void shake();
void burn();
void configure_world();
void run_systems();
int main();
};