![]() |
Public API Reference |
#include <explode.h>
Inheritance diagram for iExplosionState:
Public Methods | |
virtual void | SetParticleCount (int num)=0 |
Set the number of particles to use. More... | |
virtual int | GetParticleCount () const=0 |
Get the number of particles. More... | |
virtual void | SetCenter (const csVector3 ¢er)=0 |
Set the explosion center. More... | |
virtual const csVector3 & | GetCenter () const=0 |
Get the explosion center. More... | |
virtual void | SetPush (const csVector3 &push)=0 |
Set the push vector. More... | |
virtual const csVector3 & | GetPush () const=0 |
Get the push vector. More... | |
virtual void | SetNrSides (int nr_sides)=0 |
Set the number of sides. More... | |
virtual int | GetNrSides () const=0 |
Get the number of sides. More... | |
virtual void | SetPartRadius (float part_radius)=0 |
Set the radius of all particles. More... | |
virtual float | GetPartRadius () const=0 |
Get the radius of all particles. More... | |
virtual void | SetLighting (bool l)=0 |
Enable or disable lighting. More... | |
virtual bool | GetLighting () const=0 |
See if lighting is enabled or disabled. More... | |
virtual void | SetSpreadPos (float spread_pos)=0 |
Set the spread position. More... | |
virtual float | GetSpreadPos () const=0 |
Get the spread position. More... | |
virtual void | SetSpreadSpeed (float spread_speed)=0 |
Set the spread speed. More... | |
virtual float | GetSpreadSpeed () const=0 |
Get the spread speed. More... | |
virtual void | SetSpreadAcceleration (float spread_accel)=0 |
Set the spread acceleration. More... | |
virtual float | GetSpreadAcceleration () const=0 |
Get the spread acceleration. More... | |
virtual void | SetFadeSprites (csTicks fade_time)=0 |
Set particles to be scaled to nothing starting at fade_particles msec before self-destruct. More... | |
virtual bool | GetFadeSprites (csTicks &fade_time) const=0 |
See if particles are faded (returns true), and returns fade time too. More... | |
virtual void | AddLight (iEngine *, iSector *, csTicks fade=200)=0 |
Add a light at explosion center. More... |
Definition at line 33 of file explode.h.
|
Add a light at explosion center. add msec when light starts fading, which is used when time_to_live is set / SelfDestruct is used. |
|
Get the explosion center.
|
|
See if particles are faded (returns true), and returns fade time too.
|
|
See if lighting is enabled or disabled.
|
|
Get the number of sides.
|
|
Get the number of particles.
|
|
Get the radius of all particles.
|
|
Get the push vector.
|
|
Get the spread acceleration.
|
|
Get the spread position.
|
|
Get the spread speed.
|
|
Set the explosion center.
|
|
Set particles to be scaled to nothing starting at fade_particles msec before self-destruct.
|
|
Enable or disable lighting.
|
|
Set the number of sides.
|
|
Set the number of particles to use.
|
|
Set the radius of all particles.
|
|
Set the push vector.
|
|
Set the spread acceleration.
|
|
Set the spread position.
|
|
Set the spread speed.
|