Refactor and fixes

This commit is contained in:
MihailRis
2023-11-12 02:44:02 +03:00
parent b4a3608302
commit 63b5f4bc6b
25 changed files with 394 additions and 278 deletions
+4 -1
View File
@@ -21,9 +21,9 @@ class HudRenderer {
Batch2D* batch;
Camera* uicamera;
int fps = 60;
int fpsMin = 60;
int fpsMax = 60;
int fpsFrame = 0;
std::wstring fpsString;
bool occlusion;
bool inventoryOpen = false;
@@ -38,6 +38,9 @@ public:
void drawInventory(Player* player);
void draw();
void drawDebug(int fps, bool occlusion);
bool isInventoryOpen() const;
bool isPause() const;
};
#endif /* SRC_HUD_H_ */