Better UI for the ritual crafting that almost works, but need to get the selected items to move down. Might need some state machine love soon.
This commit is contained in:
parent
9d55b2954a
commit
14619558fa
9 changed files with 99 additions and 48 deletions
|
@ -151,6 +151,10 @@ namespace guecs {
|
|||
return $name_ents.at(name);
|
||||
}
|
||||
|
||||
DinkyECS::Entity UI::entity(std::string name, int id) {
|
||||
return entity(fmt::format("{}{}", name, id));
|
||||
}
|
||||
|
||||
void UI::init() {
|
||||
if($world.has_the<Background>()) {
|
||||
auto& bg = $world.get_the<Background>();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue