mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 03:51:50 +00:00
hpp+
This commit is contained in:
parent
9ea67deb13
commit
6b037ec7e8
19 changed files with 57 additions and 46 deletions
26
src/frontend/LevelFrontend.hpp
Normal file
26
src/frontend/LevelFrontend.hpp
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
#ifndef FRONTEND_LEVEL_FRONTEND_HPP_
|
||||
#define FRONTEND_LEVEL_FRONTEND_HPP_
|
||||
|
||||
#include <memory>
|
||||
|
||||
class Level;
|
||||
class Assets;
|
||||
class ContentGfxCache;
|
||||
class LevelController;
|
||||
|
||||
class LevelFrontend {
|
||||
Level* level;
|
||||
LevelController* controller;
|
||||
Assets* assets;
|
||||
std::unique_ptr<ContentGfxCache> contentCache;
|
||||
public:
|
||||
LevelFrontend(LevelController* controller, Assets* assets);
|
||||
~LevelFrontend();
|
||||
|
||||
Level* getLevel() const;
|
||||
Assets* getAssets() const;
|
||||
ContentGfxCache* getContentGfxCache() const;
|
||||
LevelController* getController() const;
|
||||
};
|
||||
|
||||
#endif // FRONTEND_LEVEL_FRONTEND_HPP_
|
||||
Loading…
Add table
Add a link
Reference in a new issue