refactor & add test.new_world

This commit is contained in:
MihailRis 2024-12-10 18:41:39 +03:00
parent 8f37704530
commit 9b4dd8f65e
9 changed files with 57 additions and 8 deletions

View file

@ -1,11 +1,19 @@
#pragma once
#include <memory>
class Level;
class LevelController;
class Engine;
class TestMainloop {
Engine& engine;
std::unique_ptr<LevelController> controller;
public:
TestMainloop(Engine& engine);
~TestMainloop();
void run();
void setLevel(std::unique_ptr<Level> level);
};