Resonance Game
Team Walterio Fuchsbauer
 All Classes Namespaces Files Functions Variables Enumerations Properties
Resonance.Particle Class Reference

Class which represents a single particle of a particle system. More...

List of all members.

Public Member Functions

bool isDead ()
 Properties.
float getSize ()
Vector3 getPos ()
Vector3 getRotation ()
Color getColour ()
void setDieOnFloor (bool b)
void setSpin (Vector3 newSpin)
 Particle (Vector3 p, Vector3 iDirection, float iSpeed, float s, int iLife, Color c, float iAlpha, Vector3 f, float d, bool b)
 Constructor.
 Particle ()
void init (Vector3 p, Vector3 iDirection, float iSpeed, float s, int iLife, Color c, float iAlpha, Vector3 f, float d, bool b)
void update ()

Detailed Description

Class which represents a single particle of a particle system.


Constructor & Destructor Documentation

Resonance.Particle.Particle ( Vector3  p,
Vector3  iDirection,
float  iSpeed,
float  s,
int  iLife,
Color  c,
float  iAlpha,
Vector3  f,
float  d,
bool  b 
)

Constructor.

Parameters:
pInitial particle position.
iDirectionInitial direction of travel.
iSpeedInitial speed.
sInitial size.
iLifeLifespan (in frames).
cInitial colour.
iAlphaInitial alpha transparency.
fConstantly applied force (e.g. gravity).

Member Function Documentation

void Resonance.Particle.init ( Vector3  p,
Vector3  iDirection,
float  iSpeed,
float  s,
int  iLife,
Color  c,
float  iAlpha,
Vector3  f,
float  d,
bool  b 
)

Here is the caller graph for this function:

Properties.

Here is the caller graph for this function:

Here is the caller graph for this function:

void Resonance.Particle.setSpin ( Vector3  newSpin)

Here is the caller graph for this function:

Here is the caller graph for this function:


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