How did I get here?
This commit is contained in:
1 parent
2049a6f7b9
commit
96fcddea30
20 files changed
+962
-30
No files matched your search
@@ -0,0 +1,32 @@
|
||||
// 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()
|
||||
{
|
||||
// console.registerCommand("echo", [](std::vector<std::string> &args) {
|
||||
// if(args.size() == 0) {
|
||||
// std::cout << "Usage: echo <message>" << std::endl;
|
||||
// return;
|
||||
// }
|
||||
|
||||
// std::cout << args[0] << std::endl;
|
||||
// });
|
||||
|
||||
// console.exec("echo");
|
||||
}
|
||||
|
||||
void Engine::update(void) {
|
||||
time.update();
|
||||
console.update();
|
||||
}
|
||||
|
||||
Engine::~Engine() {
|
||||
}
|
||||
Reference in new issue
Block a user