Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

PARTICLE Class Reference

#include <particle.h>

List of all members.

Public Methods

 PARTICLE ()
 ~PARTICLE ()
int Compare (const PARTICLE &Particle)
int GetMyPosition () const
void SetMyPosition (int newPosition)

Public Attributes

int linkPosition
ParticleInfo PartInfo


Constructor & Destructor Documentation

PARTICLE::PARTICLE   [inline]
 

Definition at line 50 of file particle.h.

00050 {};

PARTICLE::~PARTICLE   [inline]
 

Definition at line 51 of file particle.h.

00051 {};


Member Function Documentation

int PARTICLE::Compare const PARTICLE &    Particle
 

Definition at line 25 of file particle.cpp.

References bigger, linkPosition, same, and smaller.

00026 {
00027     if (linkPosition < Particle.linkPosition)
00028         return smaller;
00029     if (linkPosition > Particle.linkPosition)
00030         return bigger;
00031     else
00032         return same;
00033 }

int PARTICLE::GetMyPosition   const [inline]
 

Definition at line 54 of file particle.h.

References linkPosition.

00054 {return linkPosition;}

void PARTICLE::SetMyPosition int    newPosition [inline]
 

Definition at line 55 of file particle.h.

References linkPosition.

00055 {linkPosition = newPosition;}


Member Data Documentation

int PARTICLE::linkPosition
 

Definition at line 56 of file particle.h.

Referenced by ParticleSystem::Add(), Compare(), GetMyPosition(), SetMyPosition(), and ParticleSystem::SetupParticles().

ParticleInfo PARTICLE::PartInfo
 

Definition at line 58 of file particle.h.

Referenced by ParticleSystem::GetNumAlive(), Bouncy::Render(), Roman::Render(), Spark::Render(), Bouncy::SetDefaults(), Roman::SetDefaults(), Spark::SetDefaults(), Bouncy::Update(), Roman::Update(), Spark::Update(), and ParticleManager::Update().


The documentation for this class was generated from the following files:
Generated on Fri Dec 23 05:15:52 2005 for Constructive Solid Geometry by doxygen1.2.15