Simplify ingame.rs, fix adding new entities

Former-commit-id: b5fbf1a0155e8cb2cb7837004b3c0e43ca2ae92e
This commit is contained in:
Imbris 2019-05-20 01:53:33 -04:00
parent db910855df
commit a128abc925

View File

@ -342,6 +342,15 @@ impl Hud {
.set(bar_id, ui_widgets);
}
}
// test
Text::new("Squarefection")
.font_size(20)
.color(TEXT_COLOR)
.font_id(self.fonts.opensans)
.x_y(0.0, 0.0)
.position_ingame([0.0, 25.0, 25.0].into())
.resolution(20.0)
.set(self.ids.temp, ui_widgets);
// Display debug window.
if self.show.debug {