More boss fight UI done and a bit of ambient sound working.

This commit is contained in:
Zed A. Shaw 2025-02-28 00:52:48 -05:00
parent 64807174c0
commit a0c0308461
12 changed files with 111 additions and 58 deletions

View file

@ -194,6 +194,18 @@ namespace guecs {
void remove(DinkyECS::Entity ent) {
$world.remove<Comp>(ent);
}
template <typename Comp>
void close(string region) {
auto ent = entity(region);
remove<Comp>(ent);
}
void show_sprite(string region, string sprite_name);
void show_text(string region, string content);
void update_text(string region, string content);
void update_label(string region, string content);
void show_label(string region, string content);
};
Clickable make_action(DinkyECS::World& target, Events::GUI event);