diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/components.hpp | 5 | ||||
-rw-r--r-- | include/weather.hpp | 10 |
2 files changed, 5 insertions, 10 deletions
diff --git a/include/components.hpp b/include/components.hpp index 8e245a7..805e8b2 100644 --- a/include/components.hpp +++ b/include/components.hpp @@ -269,11 +269,6 @@ struct Animate { } }; -//TODO -struct Input { - -}; - /** * @struct Visible * @brief If an entity is visible we want to be able to draw it. diff --git a/include/weather.hpp b/include/weather.hpp index f2f5fed..0820871 100644 --- a/include/weather.hpp +++ b/include/weather.hpp @@ -50,15 +50,15 @@ public: offset.y + game::SCREEN_HEIGHT / 2 + 100), ParticleType::Drop, 3000, 3); } - break; // TODO + break; case Weather::Snowy: - if (newPartDelay++ == 4) { + if (newPartDelay++ == 6) { newPartDelay = 0; - partSystem.add(vec2(offset.x - game::SCREEN_WIDTH / 2 + randGet() % game::SCREEN_WIDTH, - offset.y + game::SCREEN_HEIGHT / 2 + 100), + partSystem.add(vec2(offset.x - game::SCREEN_WIDTH + randGet() % game::SCREEN_WIDTH * 2, + offset.y + game::SCREEN_HEIGHT / 2 + 50), ParticleType::Confetti, 6000, 0); } - break; // TODO + break; default: break; } |