mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-10 21:41:50 +00:00
Add files via upload
This commit is contained in:
parent
cfacf6f1eb
commit
549b392871
5 changed files with 31 additions and 70 deletions
|
|
@ -28,7 +28,6 @@ public:
|
|||
|
||||
class World : public Serializable {
|
||||
std::string name;
|
||||
std::string type;
|
||||
uint64_t seed;
|
||||
EngineSettings& settings;
|
||||
const Content* const content;
|
||||
|
|
@ -53,15 +52,6 @@ public:
|
|||
EngineSettings& settings,
|
||||
const Content* content,
|
||||
std::vector<ContentPack> packs);
|
||||
|
||||
World(std::string name,
|
||||
std::string type,
|
||||
fs::path directory,
|
||||
uint64_t seed,
|
||||
EngineSettings& settings,
|
||||
const Content* content,
|
||||
std::vector<ContentPack> packs);
|
||||
|
||||
~World();
|
||||
|
||||
/**
|
||||
|
|
@ -87,7 +77,6 @@ public:
|
|||
* Create new world
|
||||
* @param name internal world name
|
||||
* @param directory root world directory
|
||||
* @param type of the world
|
||||
* @param seed world generation seed
|
||||
* @param settings current engine settings
|
||||
* @param content current engine Content instance
|
||||
|
|
@ -96,7 +85,6 @@ public:
|
|||
* @return Level instance containing World instance
|
||||
*/
|
||||
static Level* create(std::string name,
|
||||
std::string type,
|
||||
fs::path directory,
|
||||
uint64_t seed,
|
||||
EngineSettings& settings,
|
||||
|
|
@ -136,8 +124,6 @@ public:
|
|||
/** Get world generation seed */
|
||||
uint64_t getSeed() const;
|
||||
|
||||
/** Get world type */
|
||||
std::string getType() const;
|
||||
/**
|
||||
* Get vector of all content-packs installed in world
|
||||
*/
|
||||
|
|
@ -162,4 +148,4 @@ public:
|
|||
void deserialize(dynamic::Map *src) override;
|
||||
};
|
||||
|
||||
#endif /* WORLD_WORLD_H_ */
|
||||
#endif /* WORLD_WORLD_H_ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue