diff options
author | HampusM <hampus@hampusmat.com> | 2022-06-02 20:27:48 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-06-13 17:57:00 +0200 |
commit | ea5cd08dd67f9bc4351ecebdda9e310a8072ae32 (patch) | |
tree | d867c198e886ffd9ed233a72f1fe35bb771f999e /src/engine | |
parent | 2d8e52e59af27fc68f4ff5b63d1b53e8d6d4c043 (diff) |
refactor: move main function to engine
Diffstat (limited to 'src/engine')
-rw-r--r-- | src/engine/main.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
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<ICLIGameEngine>(); + + engine->start(); +} + |