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
+27
View File
@@ -0,0 +1,27 @@
#ifndef LOGIC_LEVEL_CONTROLLER_H_
#define LOGIC_LEVEL_CONTROLLER_H_
#include "../settings.h"
class Level;
class ChunksController;
class PlayerController;
class LevelController {
EngineSettings& settings;
Level* level;
ChunksController* chunks;
PlayerController* player;
public:
LevelController(EngineSettings& settings, Level* level);
~LevelController();
void update(float delta,
bool input,
bool pause,
bool interactions);
};
#endif // LOGIC_LEVEL_CONTROLLER_H_