Main Page | Class List | Directories | File List | Class Members | File Members

Particle Struct Reference

Represents a particle of a particle system. More...

#include <particle.h>

List of all members.

Public Member Functions

 Particle ()
 Constructs an uninitialized particle.
 Particle (component m, vector2 p, vector2 v, component l)
 Constructs a particle.

Public Attributes

component age
 The current age.
component lifetime
 The life time.
component mass
 The mass.
vector2 position
 The current position.
vector2 velocity
 The current velocity.
vector2 force
 The current force.


Detailed Description

Represents a particle of a particle system.


Constructor & Destructor Documentation

Particle::Particle component  m,
vector2  p,
vector2  v,
component  l
[inline]
 

Constructs a particle.

Parameters:
m the mass
p the position
v the velocity
l the life time


The documentation for this struct was generated from the following file:
Generated on Sun Jul 10 22:32:04 2005 for S12 by  doxygen 1.4.2