Very janky barely working coroutine version of the game, the UI is more responsive, but not as much as it should be. Still, take a look and study the coro.hpp and other files in this commit for some coroutine stuff.
This commit is contained in:
parent
8f7235ade1
commit
cacf72604f
6 changed files with 38 additions and 15 deletions
|
@ -1,6 +1,7 @@
|
|||
#pragma once
|
||||
#include "gui.hpp"
|
||||
#include "game_engine.hpp"
|
||||
#include "coro.hpp"
|
||||
|
||||
class Builder {
|
||||
GUI gui;
|
||||
|
@ -12,7 +13,7 @@ class Builder {
|
|||
|
||||
Builder(GUI &g, GameEngine &engine);
|
||||
|
||||
void run_build();
|
||||
Task<unsigned> run_build();
|
||||
|
||||
void run();
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue