Block animation

This commit is contained in:
@clasher113
2024-01-21 15:23:03 +02:00
parent fa6eb6ae22
commit 5fb34daf52
9 changed files with 264 additions and 24 deletions
+3 -1
View File
@@ -13,6 +13,7 @@ class Camera;
class Batch2D;
class LevelFrontend;
class LevelController;
class TextureAnimator;
/* Screen is a mainloop state */
class Screen {
@@ -42,7 +43,8 @@ class LevelScreen : public Screen {
std::unique_ptr<HudRenderer> hud;
std::unique_ptr<WorldRenderer> worldRenderer;
std::unique_ptr<LevelController> controller;
std::unique_ptr<TextureAnimator> animator;
bool hudVisible = true;
void updateHotkeys();
public: