![]() |
Peoplemon
0.1.0
Peoplemon 3 game source documentation
|
Creates sandstorms. More...
#include <Sandstorm.hpp>
Public Member Functions | |
Sandstorm () | |
Creates the sandstorm. More... | |
virtual | ~Sandstorm () |
Destroy the Sandstorm object. More... | |
virtual Weather::Type | type () const override |
Returns Sandstorm. More... | |
virtual void | start (bl::engine::Engine &engine, bl::rc::RenderTarget &renderTarget, Map &map) override |
Starts the sandstorm. More... | |
virtual void | stop () override |
Stops the sandstorm. More... | |
virtual bool | stopped () const override |
Returns true if the sandstorm is fully stopped, false if stopping. More... | |
virtual void | update (float dt) override |
Updates the sandstorm. More... | |
Creates sandstorms.
Definition at line 26 of file Sandstorm.hpp.
core::map::weather::Sandstorm::Sandstorm | ( | ) |
Creates the sandstorm.
Definition at line 333 of file Sandstorm.cpp.
|
virtual |
Destroy the Sandstorm object.
Definition at line 337 of file Sandstorm.cpp.
|
overridevirtual |
Starts the sandstorm.
engine | The game engine instance |
renderTarget | The render target the weather will be rendered to |
map | The map the weather is in |
Implements core::map::weather::Base.
Definition at line 350 of file Sandstorm.cpp.
|
overridevirtual |
Stops the sandstorm.
Implements core::map::weather::Base.
Definition at line 346 of file Sandstorm.cpp.
|
overridevirtual |
Returns true if the sandstorm is fully stopped, false if stopping.
Implements core::map::weather::Base.
Definition at line 348 of file Sandstorm.cpp.
|
overridevirtual |
Returns Sandstorm.
Implements core::map::weather::Base.
Definition at line 344 of file Sandstorm.cpp.
|
overridevirtual |
Updates the sandstorm.
dt | Time elapsed in seconds since the last call to update |
Implements core::map::weather::Base.
Definition at line 390 of file Sandstorm.cpp.