mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 19:41:51 +00:00
Language settings menu
This commit is contained in:
parent
e97eb441d5
commit
4de8759ea2
10 changed files with 104 additions and 33 deletions
|
|
@ -3,10 +3,13 @@
|
|||
|
||||
#include <string>
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
#include <stdexcept>
|
||||
#include "typedefs.h"
|
||||
#include "settings.h"
|
||||
|
||||
#include "content/ContentPack.h"
|
||||
|
||||
class Assets;
|
||||
class Level;
|
||||
class Screen;
|
||||
|
|
@ -25,6 +28,7 @@ public:
|
|||
class Engine {
|
||||
Assets* assets;
|
||||
std::shared_ptr<Screen> screen = nullptr;
|
||||
std::vector<ContentPack> contentPacks;
|
||||
EngineSettings& settings;
|
||||
Content* content;
|
||||
EnginePaths* paths;
|
||||
|
|
@ -48,6 +52,7 @@ public:
|
|||
void setScreen(std::shared_ptr<Screen> screen);
|
||||
EnginePaths* getPaths();
|
||||
const Content* getContent() const;
|
||||
std::vector<ContentPack>& getContentPacks();
|
||||
};
|
||||
|
||||
#endif // SRC_ENGINE_H_
|
||||
Loading…
Add table
Add a link
Reference in a new issue