First implementation of doing the usual update/render dance.
This commit is contained in:
parent
364f66bffb
commit
32e9c65331
5 changed files with 12 additions and 3 deletions
|
|
@ -186,6 +186,10 @@ namespace boss {
|
|||
$ui.render();
|
||||
}
|
||||
|
||||
void Fight::update() {
|
||||
$ui.update();
|
||||
}
|
||||
|
||||
bool Fight::handle_mouse(game::Event ev) {
|
||||
using enum game::Event;
|
||||
$mouse_pos = $window->mapPixelToCoords($router.position);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue