1 #ifndef CORE_MAPS_WEATHER_SUNNY_HPP
2 #define CORE_MAPS_WEATHER_SUNNY_HPP
7 #include <SFML/Graphics.hpp>
48 virtual void start(bl::engine::Engine& engine, bl::rc::RenderTarget& renderTarget,
55 virtual void stop()
override;
61 virtual bool stopped()
const override;
68 virtual void update(
float dt)
override;
Core classes and functionality for both the editor and game.
The primary map class that represents a usable map in the game.
Base class for all weather types.
virtual ~Sunny()=default
Destroy the Sunny object.
virtual void update(float dt) override
Updates the sunny weather.
virtual bool stopped() const override
Returns true when the sun is finished fading.
virtual void start(bl::engine::Engine &engine, bl::rc::RenderTarget &renderTarget, Map &map) override
Starts the sunny weather.
Sunny()
Construct a new Sunny object.
virtual Weather::Type type() const override
Returns Sunny.
virtual void stop() override
Stops the sunny weather.