GUECS now doesn't have the facts feature from DinkyECS and instead you refer to the whole area with gui.MAIN. This is an entity that's at 0 and represents the whole grid. Background is placed there.
This commit is contained in:
parent
abea6da2e0
commit
7c90eb6da1
5 changed files with 7 additions and 39 deletions
|
@ -37,7 +37,7 @@ namespace gui {
|
|||
}
|
||||
|
||||
void CombatUI::init() {
|
||||
$gui.set_the<Background>({$gui.$parser, ColorValue::DARK_MID});
|
||||
$gui.set<Background>($gui.MAIN, {$gui.$parser, ColorValue::DARK_MID});
|
||||
auto& the_belt = $level.world->get_the<ritual::Belt>();
|
||||
|
||||
for(int slot = 0; slot < the_belt.max_slots; slot++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue