mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-08 04:21:50 +00:00
Added class Level for runtime world stuff
This commit is contained in:
parent
4ceba017c7
commit
e8ca11894d
9 changed files with 81 additions and 35 deletions
21
src/world/Level.h
Normal file
21
src/world/Level.h
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
#ifndef WORLD_LEVEL_H_
|
||||
#define WORLD_LEVEL_H_
|
||||
|
||||
class Player;
|
||||
class Chunks;
|
||||
class Lighting;
|
||||
class PhysicsSolver;
|
||||
class ChunksController;
|
||||
|
||||
class Level {
|
||||
public:
|
||||
Player* player;
|
||||
Chunks* chunks;
|
||||
PhysicsSolver* physics;
|
||||
Lighting* lighting;
|
||||
ChunksController* chunksController;
|
||||
Level(Player* player, Chunks* chunks, PhysicsSolver* physics);
|
||||
~Level();
|
||||
};
|
||||
|
||||
#endif /* WORLD_LEVEL_H_ */
|
||||
Loading…
Add table
Add a link
Reference in a new issue