RigsofRods
Soft-body Physics Simulation
|
#include <CloudsManager.h>
Public Member Functions | |
CloudsManager (SkyX *h) | |
Constructor. More... | |
~CloudsManager () | |
Destructor. More... | |
void | update () |
Update cloud layers. More... | |
CloudLayer * | add (const CloudLayer::Options &o) |
Add a cloud layer. More... | |
void | remove (CloudLayer *cl) |
Remove the specified cloud layer. More... | |
void | removeAll () |
Remove all cloud layers. More... | |
void | registerAll () |
Register all. More... | |
void | unregister (CloudLayer *cl) |
Unregister cloud layer. More... | |
void | unregisterAll () |
Unregister all cloud layers. More... | |
const std::vector< CloudLayer * > & | getCloudLayers () const |
Get cloud layers. More... | |
Private Attributes | |
std::vector< CloudLayer * > | mCloudLayers |
Cloud layers std::vector. More... | |
std::vector< CloudLayer * >::iterator | CloudLayersIt |
Cloud layers iterator. More... | |
SkyX * | mSkyX |
SkyX parent pointer. More... | |
Definition at line 224 of file CloudsManager.h.
SkyX::CloudsManager::CloudsManager | ( | SkyX * | h | ) |
Constructor.
----------— CloudsManager ------------—
s | SkyX parent pointer |
Definition at line 210 of file CloudsManager.cpp.
SkyX::CloudsManager::~CloudsManager | ( | ) |
Destructor.
Definition at line 215 of file CloudsManager.cpp.
CloudLayer * SkyX::CloudsManager::add | ( | const CloudLayer::Options & | o | ) |
Add a cloud layer.
o | Cloud layer options |
Definition at line 220 of file CloudsManager.cpp.
|
inline |
Get cloud layers.
Definition at line 270 of file CloudsManager.h.
void SkyX::CloudsManager::registerAll | ( | ) |
Register all.
Definition at line 283 of file CloudsManager.cpp.
void SkyX::CloudsManager::remove | ( | CloudLayer * | cl | ) |
Remove the specified cloud layer.
Definition at line 260 of file CloudsManager.cpp.
void SkyX::CloudsManager::removeAll | ( | ) |
Remove all cloud layers.
Definition at line 273 of file CloudsManager.cpp.
void SkyX::CloudsManager::unregister | ( | CloudLayer * | cl | ) |
Unregister cloud layer.
cl | Cloud layer to be unregistered |
Definition at line 293 of file CloudsManager.cpp.
void SkyX::CloudsManager::unregisterAll | ( | ) |
Unregister all cloud layers.
Definition at line 304 of file CloudsManager.cpp.
void SkyX::CloudsManager::update | ( | ) |
Update cloud layers.
Definition at line 312 of file CloudsManager.cpp.
|
private |
Cloud layers iterator.
Definition at line 279 of file CloudsManager.h.
|
private |
Cloud layers std::vector.
Definition at line 277 of file CloudsManager.h.
|
private |
SkyX parent pointer.
Definition at line 282 of file CloudsManager.h.