This commit is contained in:
MihailRis 2025-03-09 23:10:22 +03:00
parent db620010a3
commit 70b3a4d91e
4 changed files with 90 additions and 84 deletions

View file

@ -22,7 +22,7 @@ class LevelScreen : public Screen {
std::unique_ptr<LevelFrontend> frontend;
std::unique_ptr<LevelController> controller;
std::unique_ptr<PlayerController> playerController;
std::unique_ptr<WorldRenderer> worldRenderer;
std::unique_ptr<WorldRenderer> renderer;
std::unique_ptr<TextureAnimator> animator;
std::unique_ptr<PostProcessing> postProcessing;
std::unique_ptr<Decorator> decorator;
@ -38,6 +38,7 @@ class LevelScreen : public Screen {
void loadDecorations();
void saveDecorations();
void updateAudio();
public:
LevelScreen(
Engine& engine, std::unique_ptr<Level> level, int64_t localPlayer
@ -48,6 +49,4 @@ public:
void draw(float delta) override;
void onEngineShutdown() override;
LevelController* getLevelController() const;
};