Status UI now has a log and some buttons.
This commit is contained in:
parent
3a6ba8445a
commit
bfe0d797c8
7 changed files with 61 additions and 17 deletions
|
@ -27,7 +27,7 @@ namespace gui {
|
|||
world.set<Sprite>(button, {"trash_button"});
|
||||
world.set<Clickable>(button,
|
||||
guecs::make_action(*$level.world, Events::GUI::ATTACK));
|
||||
world.set<Textual>(button, {"Attack"});
|
||||
world.set<Label>(button, {"Attack"});
|
||||
} else if(name.starts_with("bar_")) {
|
||||
$meter = $gui.entity(name);
|
||||
world.set<lel::Cell>($meter, cell);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue