voxelcore/src/world/World.h
2023-10-30 15:19:58 +03:00

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_ */