This commit is contained in:
MihailRis
2025-03-09 23:10:22 +03:00
parent db620010a3
commit 70b3a4d91e
4 changed files with 90 additions and 84 deletions
+5 -2
View File
@@ -18,6 +18,7 @@ class Block;
class Engine;
class LevelController;
class WorldRenderer;
class Weather;
struct WeatherPreset;
class Decorator {
@@ -44,6 +45,9 @@ class Decorator {
const glm::ivec3& areaCenter,
const WeatherPreset& weather
);
void updateRandomSounds(float delta, const Weather& weather);
void updateBlockEmitters(const Camera& camera);
void updateTextNotes();
void addParticles(const Block& def, const glm::ivec3& pos);
public:
Decorator(
@@ -57,7 +61,6 @@ public:
void update(
float delta,
const Camera& camera,
const WeatherPreset& weatherA,
const WeatherPreset& weatherB
const Weather& weather
);
};