General refactor

This commit is contained in:
MihailRis
2023-11-30 04:30:40 +03:00
parent de134dc2e5
commit 1d5037893c
27 changed files with 558 additions and 419 deletions
+2 -7
View File
@@ -24,11 +24,11 @@ public:
Player* player;
Chunks* chunks;
ChunksStorage* chunksStorage;
PhysicsSolver* physics;
Lighting* lighting;
ChunksController* chunksController;
PlayerController* playerController;
LevelEvents* events;
const EngineSettings& settings;
Level(World* world,
@@ -37,11 +37,6 @@ public:
EngineSettings& settings);
~Level();
void updatePlayer(float delta,
bool input,
bool pause,
bool interactions);
void update();
};