diff --git a/map_view.cpp b/map_view.cpp index bf889f9..2796e75 100644 --- a/map_view.cpp +++ b/map_view.cpp @@ -47,12 +47,21 @@ namespace gui { window.draw(*$paper.sprite); auto grid = $gui.entity("map_grid"); + auto status = $gui.entity("status"); std::wstring map_out = System::draw_map($level, 23, 9); auto& map_text = $gui.get(grid); map_text.update(map_out); + auto& status_text = $gui.get(status); + + std::string status_out = fmt::format( + "Level: {}\n" + "Enemies Killed: A Lot\n", + $level.index + 1); + + status_text.update(status_out); $gui.render(window); // $gui.debug_layout(window);