From ea5cd08dd67f9bc4351ecebdda9e310a8072ae32 Mon Sep 17 00:00:00 2001 From: HampusM Date: Thu, 2 Jun 2022 20:27:48 +0200 Subject: refactor: move main function to engine --- src/engine/main.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/engine/main.cpp (limited to 'src/engine/main.cpp') diff --git a/src/engine/main.cpp b/src/engine/main.cpp new file mode 100644 index 0000000..b4955b5 --- /dev/null +++ b/src/engine/main.cpp @@ -0,0 +1,13 @@ +#include "interfaces/engine.hpp" + +#include "bootstrap.hpp" + +auto main() noexcept -> int +{ + auto container = bootstrap(); + + auto engine = container.get(); + + engine->start(); +} + -- cgit v1.2.3-18-g5258