#include <fish.h>
Public Member Functions | |
VisualEffectFish (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::kEffectFish |
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 a group of fish swimming around on top of the scene
void Stark::VisualEffectFish::setParams | ( | const Common::String & | params | ) |
Set the effect's parameters using the string based data format found in the game data files
void Stark::VisualEffectFish::render | ( | const Common::Point & | position | ) |
Draw the effect at the designated position