Tanks Multiplayer  1.4
Public Member Functions | Public Attributes | List of all members
ParticleColor

Modifies the starting color of a particle system to the color passed in. This is used on the player death particles to match the player's team color. More...

Inheritance diagram for ParticleColor:

Public Member Functions

void SetColor (Color color)
 Iterates over all particles and assigns the color passed in, but ignoring the alpha value of the new color. More...
 

Public Attributes

ParticleSystem[] particles
 Array for particle systems that should be colored. More...
 

Detailed Description

Modifies the starting color of a particle system to the color passed in. This is used on the player death particles to match the player's team color.

Member Function Documentation

void SetColor ( Color  color)

Iterates over all particles and assigns the color passed in, but ignoring the alpha value of the new color.

Member Data Documentation

ParticleSystem [] particles

Array for particle systems that should be colored.


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