ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Stark::VisualExplodingImage::ExplosionUnit Struct Reference

List of all members.

Public Member Functions

 ExplosionUnit ()
void setPosition (int x, int y)
void setExplosionSettings (const Common::Point &center, const Common::Point &amplitude, float scale)
void setColor (uint32 color, const Graphics::PixelFormat &format)
void update ()
void draw (Graphics::Surface *surface)

Public Attributes

Math::Vector2d _position
Math::Vector2d _speed
Math::Vector2d _center
float _scale
int _stillImageTimeRemaining
int _explosionFastAccelerationTimeRemaining
uint32 _mainColor
uint32 _darkColor

Detailed Description

Definition at line 66 of file explodingimage.h.


Constructor & Destructor Documentation

Stark::VisualExplodingImage::ExplosionUnit::ExplosionUnit (  ) 

Definition at line 99 of file explodingimage.cpp.


Member Function Documentation

void Stark::VisualExplodingImage::ExplosionUnit::draw ( Graphics::Surface surface  ) 

Definition at line 162 of file explodingimage.cpp.

void Stark::VisualExplodingImage::ExplosionUnit::setColor ( uint32  color,
const Graphics::PixelFormat format 
)

Definition at line 125 of file explodingimage.cpp.

void Stark::VisualExplodingImage::ExplosionUnit::setExplosionSettings ( const Common::Point center,
const Common::Point amplitude,
float  scale 
)

Definition at line 112 of file explodingimage.cpp.

void Stark::VisualExplodingImage::ExplosionUnit::setPosition ( int  x,
int  y 
)

Definition at line 108 of file explodingimage.cpp.

void Stark::VisualExplodingImage::ExplosionUnit::update (  ) 

Definition at line 137 of file explodingimage.cpp.


Member Data Documentation


The documentation for this struct was generated from the following files:


Generated on Sat Sep 21 2019 05:04:28 for ResidualVM by doxygen 1.7.1
curved edge   curved edge