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)
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
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 94 of file explodingimage.cpp.


Member Function Documentation

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

Definition at line 155 of file explodingimage.cpp.

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

Definition at line 118 of file explodingimage.cpp.

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

Definition at line 106 of file explodingimage.cpp.

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

Definition at line 102 of file explodingimage.cpp.

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

Definition at line 130 of file explodingimage.cpp.


Member Data Documentation


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


Generated on Sat Mar 16 2019 05:06:57 for ResidualVM by doxygen 1.7.1
curved edge   curved edge