Added pause menu, new F3 debug panel, fogCurve setting
This commit is contained in:
+2
-2
@@ -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();
|
||||
}
|
||||
|
||||
+1
-1
@@ -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_ */
|
||||
|
||||
Reference in New Issue
Block a user