animations
This commit is contained in:
parent
721ff8f42f
commit
e4dda0861c
8 changed files with 161 additions and 4 deletions
|
|
@ -47,8 +47,9 @@ export namespace Crafter {
|
|||
class UiElement;
|
||||
class Window {
|
||||
public:
|
||||
std::chrono::time_point<std::chrono::high_resolution_clock> lastFrameEnd;
|
||||
Event<void> onClose;
|
||||
Event<std::chrono::time_point<std::chrono::high_resolution_clock>> onUpdate;
|
||||
Event<FrameTime> onUpdate;
|
||||
bool open = true;
|
||||
bool updating = false;
|
||||
Window() = default;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue