mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 03:51:50 +00:00
24 lines
364 B
C++
24 lines
364 B
C++
#ifndef WORLD_WORLD_H_
|
|
#define WORLD_WORLD_H_
|
|
|
|
#include <string>
|
|
|
|
class WorldFiles;
|
|
class Chunks;
|
|
class Level;
|
|
class Player;
|
|
|
|
class World {
|
|
public:
|
|
std::string name;
|
|
WorldFiles* wfile;
|
|
int seed;
|
|
|
|
World(std::string name, std::string directory, int seed);
|
|
~World();
|
|
|
|
void write(Level* level);
|
|
Level* loadLevel(Player* player);
|
|
};
|
|
|
|
#endif /* WORLD_WORLD_H_ */
|