ScummVM API documentation
Stark::VisualEffectFireFlies Class Reference

#include <fireflies.h>

Inheritance diagram for Stark::VisualEffectFireFlies:
Stark::VisualEffect Stark::Visual

Public Member Functions

 VisualEffectFireFlies (Gfx::Driver *gfx, const Common::Point &size)
 
void setParams (const Common::String &params)
 
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::kEffectFirefly
 

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
 

Detailed Description

A visual effect for drawing fire flies glowing on top of the scene

Member Function Documentation

◆ setParams()

void Stark::VisualEffectFireFlies::setParams ( const Common::String params)

Set the effect's parameters using the string based data format found in the game data files

◆ render()

void Stark::VisualEffectFireFlies::render ( const Common::Point position)

Draw the effect at the designated position


The documentation for this class was generated from the following file: