mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 20:11:50 +00:00
Added pause menu, new F3 debug panel, fogCurve setting
This commit is contained in:
parent
b9ed7a2b28
commit
e48e41c99a
28 changed files with 1267 additions and 324 deletions
|
|
@ -38,8 +38,8 @@ Level::~Level(){
|
|||
delete playerController;
|
||||
}
|
||||
|
||||
void Level::update(float delta, bool interactions) {
|
||||
playerController->update_controls(delta);
|
||||
void Level::update(float delta, bool updatePlayer, bool interactions) {
|
||||
playerController->update_controls(delta, updatePlayer);
|
||||
if (interactions) {
|
||||
playerController->update_interaction();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ public:
|
|||
uint chunksPadding);
|
||||
~Level();
|
||||
|
||||
void update(float delta, bool interactions);
|
||||
void update(float delta, bool updatePlayer, bool interactions);
|
||||
};
|
||||
|
||||
#endif /* WORLD_LEVEL_H_ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue