#include <particle.h>
Public Methods | |
PARTICLE () | |
~PARTICLE () | |
int | Compare (const PARTICLE &Particle) |
int | GetMyPosition () const |
void | SetMyPosition (int newPosition) |
Public Attributes | |
int | linkPosition |
ParticleInfo | PartInfo |
|
Definition at line 50 of file particle.h.
00050 {}; |
|
Definition at line 51 of file particle.h.
00051 {}; |
|
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 } |
|
Definition at line 54 of file particle.h. References linkPosition.
00054 {return linkPosition;} |
|
Definition at line 55 of file particle.h. References linkPosition.
00055 {linkPosition = newPosition;} |
|
Definition at line 56 of file particle.h. Referenced by ParticleSystem::Add(), Compare(), GetMyPosition(), SetMyPosition(), and ParticleSystem::SetupParticles(). |
|
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(). |