mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-11 05:51:51 +00:00
refactor
This commit is contained in:
parent
db620010a3
commit
70b3a4d91e
4 changed files with 90 additions and 84 deletions
|
|
@ -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;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue