Lots of dumb little edits to sort out what I'm aiming at. I'll next clean out most of this in a refactor.
This commit is contained in:
parent
1f90367f51
commit
c7c48658bd
13 changed files with 60 additions and 29 deletions
|
@ -31,8 +31,8 @@ namespace gui {
|
|||
$map_grid.init(cell, $font);
|
||||
}
|
||||
|
||||
void MiniMapUI::render(sf::RenderWindow &window) {
|
||||
std::wstring map_out = System::draw_map($level, 5, 3);
|
||||
void MiniMapUI::render(sf::RenderWindow &window, Point aim) {
|
||||
std::wstring map_out = System::draw_map($level, 5, 3, aim);
|
||||
$map_grid.update(map_out);
|
||||
window.draw(*$map_grid.text);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue