ScummVM API documentation
Stark::VisualEffectBubbles Class Reference

#include <bubbles.h>

Inheritance diagram for Stark::VisualEffectBubbles:
Stark::VisualEffect Stark::Visual

Public Member Functions

 VisualEffectBubbles (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::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
 

Detailed Description

A visual effect for drawing small bubbles moving up on top of the scene

Member Function Documentation

◆ setParams()

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

◆ render()

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

Draw the effect at the designated position


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