mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 03:51:50 +00:00
move weather from WorldRenderer to LevelFrontend
This commit is contained in:
parent
22f09d3659
commit
ac00c561ee
7 changed files with 26 additions and 10 deletions
|
|
@ -1,5 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include "world/Weather.hpp"
|
||||
|
||||
#include <memory>
|
||||
|
||||
class Assets;
|
||||
|
|
@ -15,6 +17,7 @@ class LevelFrontend {
|
|||
LevelController& controller;
|
||||
Assets& assets;
|
||||
std::unique_ptr<ContentGfxCache> contentCache;
|
||||
Weather weather {};
|
||||
public:
|
||||
LevelFrontend(
|
||||
Engine& engine,
|
||||
|
|
@ -28,4 +31,5 @@ public:
|
|||
const ContentGfxCache& getContentGfxCache() const;
|
||||
ContentGfxCache& getContentGfxCache();
|
||||
LevelController& getController() const;
|
||||
Weather& getWeather();
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue