Intermediate refactor to move everything over to using the textures module rather than everyone using one TexturePack thing.
This commit is contained in:
parent
6c1d851e85
commit
f3e1413022
23 changed files with 129 additions and 64 deletions
|
@ -15,7 +15,7 @@ namespace gui {
|
|||
"[ >.%(100,50)label_hp | *%.(198,50)bar_hp | _ ]");
|
||||
}
|
||||
|
||||
void CombatUI::render(TexturePack& textures) {
|
||||
void CombatUI::render() {
|
||||
auto& world = $gui.world();
|
||||
|
||||
world.set_the<Background>({$gui.$parser});
|
||||
|
@ -39,7 +39,7 @@ namespace gui {
|
|||
}
|
||||
}
|
||||
|
||||
$gui.init(textures);
|
||||
$gui.init();
|
||||
}
|
||||
|
||||
void CombatUI::draw(sf::RenderWindow& window) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue