ScummVM API documentation
Stark::VisualExplodingImage Class Reference

#include <explodingimage.h>

Inheritance diagram for Stark::VisualExplodingImage:
Stark::Visual

Public Member Functions

 VisualExplodingImage (Gfx::Driver *gfx)
 
void initFromSurface (const Graphics::Surface *surface, uint originalWidth, uint originalHeight)
 
void render (const Common::Point &position)
 
- Public Member Functions inherited from Stark::Visual
 Visual (VisualType type)
 
template<class T >
T * get ()
 

Static Public Attributes

static const VisualType TYPE = Visual::kExplodingImage
 

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
}
 

Detailed Description

An image with an animated explosion effect

Used by the top bar when picking up an inventory item

Member Function Documentation

◆ initFromSurface()

void Stark::VisualExplodingImage::initFromSurface ( const Graphics::Surface surface,
uint  originalWidth,
uint  originalHeight 
)

Prepare exploding the specified image

◆ render()

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

Render the image at the specified position


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