mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 03:51:50 +00:00
sounds variability + first step fix
This commit is contained in:
parent
87dd1dd6b2
commit
bfc3182ed3
4 changed files with 23 additions and 9 deletions
|
|
@ -11,7 +11,7 @@
|
|||
class Level;
|
||||
class Player;
|
||||
|
||||
/* LevelController manages other controllers */
|
||||
/// @brief LevelController manages other controllers
|
||||
class LevelController {
|
||||
EngineSettings& settings;
|
||||
std::unique_ptr<Level> level;
|
||||
|
|
@ -22,20 +22,22 @@ class LevelController {
|
|||
public:
|
||||
LevelController(EngineSettings& settings, Level* level);
|
||||
|
||||
/*
|
||||
@param delta time elapsed since the last update
|
||||
@param input is user input allowed to be handled
|
||||
@param pause is world and player simulation paused
|
||||
*/
|
||||
void update(float delta,
|
||||
bool input,
|
||||
bool pause);
|
||||
/// @param delta time elapsed since the last update
|
||||
/// @param input is user input allowed to be handled
|
||||
/// @param pause is world and player simulation paused
|
||||
void update(
|
||||
float delta,
|
||||
bool input,
|
||||
bool pause
|
||||
);
|
||||
|
||||
void onWorldSave();
|
||||
void onWorldQuit();
|
||||
|
||||
Level* getLevel();
|
||||
Player* getPlayer();
|
||||
|
||||
PlayerController* getPlayerController();
|
||||
};
|
||||
|
||||
#endif // LOGIC_LEVEL_CONTROLLER_H_
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue