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
|
|
@ -50,8 +50,7 @@ int main(int, char*[]) {
|
|||
dbc::check(main->$world == world, "GameDB::current_world doesn't match boss fight world.");
|
||||
|
||||
while(!main->in_state(boss::State::END)) {
|
||||
dbc::log("IDIOT! make this an update.");
|
||||
main->$ui.$arena.tick();
|
||||
main->update();
|
||||
main->render(window);
|
||||
|
||||
if(main->handle_keyboard_mouse() || main->handle_world_events())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue