// Copyright (c) 2025 Dominic Masters // // This software is released under the MIT License. // https://opensource.org/licenses/MIT #include "Engine.hpp" using namespace Dawn; Engine::Engine() : time(), console(), display(*this), input(*this) { console.registerCommand("exit", [this](auto console, auto args) { this->exitRequested = true; }); } bool_t Engine::isExitRequested() const { return this->exitRequested; } void Engine::update(void) { time.update(); input.update(); console.update(); display.update(); } Engine::~Engine() { }