#include <bubbles.h>
Public Member Functions | |
| VisualEffectBubbles (Gfx::Driver *gfx, const Common::Point &size) | |
| void | setParams (const Common::String ¶ms) |
| void | render (const Common::Point &position) |
Public Member Functions inherited from Stark::VisualEffect | |
| VisualEffect (VisualType type, const Common::Point &size, Gfx::Driver *gfx) | |
Public Member Functions inherited from Stark::Visual | |
| Visual (VisualType type) | |
| template<class T > | |
| T * | get () |
Static Public Attributes | |
| static const VisualType | TYPE = Visual::kEffectBubbles |
Additional Inherited Members | |
Public Types inherited from Stark::Visual | |
| enum | VisualType { kImageXMG = 2, kRendered = 3, kImageText = 4, kSmackerStream = 5, kActor = 6, kSmackerFMV = 7, kEffectFish = 8, kEffectBubbles = 9, kEffectFirefly = 10, kExplodingImage = 100, kFlashingImage = 101 } |
Protected Attributes inherited from Stark::VisualEffect | |
| Gfx::Driver * | _gfx |
| Gfx::SurfaceRenderer * | _surfaceRenderer |
| Gfx::Bitmap * | _bitmap |
| Graphics::Surface * | _surface |
| uint | _timeBetweenTwoUpdates |
| int | _timeRemainingUntilNextUpdate |
| Common::Point | _size |
A visual effect for drawing small bubbles moving up on top of the scene
| void Stark::VisualEffectBubbles::setParams | ( | const Common::String & | params | ) |
Set the effect's parameters using the string based data format found in the game data files
| void Stark::VisualEffectBubbles::render | ( | const Common::Point & | position | ) |
Draw the effect at the designated position