mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-11 14:01:49 +00:00
settings observers lifecycle
This commit is contained in:
parent
201209887f
commit
5b82b18c6f
6 changed files with 75 additions and 43 deletions
|
|
@ -3,6 +3,7 @@
|
|||
|
||||
#include <memory>
|
||||
#include "../settings.h"
|
||||
#include "../util/ObjectsKeeper.hpp"
|
||||
|
||||
class Assets;
|
||||
class Level;
|
||||
|
|
@ -16,7 +17,7 @@ class LevelController;
|
|||
class TextureAnimator;
|
||||
|
||||
/// @brief Screen is a mainloop state
|
||||
class Screen {
|
||||
class Screen : public util::ObjectsKeeper {
|
||||
protected:
|
||||
Engine* engine;
|
||||
std::unique_ptr<Batch2D> batch;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue