#include <MercuryParticle.h>
Inheritance diagram for MercuryParticleField:
Public Member Functions | |
MercuryParticleField () | |
virtual | ~MercuryParticleField () |
virtual void | Message (int Message, PStack &data, const MString &name) |
Receive message (When subscribing to messages, you receive them via this command). | |
unsigned int | GetPointSize () const |
MercuryObject * | SpawnParticle () |
virtual void | Init () |
virtual void | Update (const float dTime) |
[internal] Update (call this update last when abstracting because Update can destroy the object) | |
virtual void | CustomRender () |
void | LoadImage (MString path) |
void | ToggleDestroyOnEmpty (bool toggle) |
CLASS_RTTI (MercuryParticleField, MercuryObject) | |
Private Attributes | |
MercuryMaterial | m_material |
int | m_pointsize |
MString | m_imagePath |
MercurySprite * | m_origional |
bool | m_destroyOnEmpty |
Definition at line 10 of file MercuryParticle.h.
MercuryParticleField::MercuryParticleField | ( | ) | [inline] |
Definition at line 13 of file MercuryParticle.h.
virtual MercuryParticleField::~MercuryParticleField | ( | ) | [inline, virtual] |
Definition at line 14 of file MercuryParticle.h.
Receive message (When subscribing to messages, you receive them via this command).
Reimplemented from MercuryMessageHandler.
Definition at line 17 of file MercuryParticle.cpp.
unsigned int MercuryParticleField::GetPointSize | ( | ) | const [inline] |
Definition at line 17 of file MercuryParticle.h.
MercuryObject * MercuryParticleField::SpawnParticle | ( | ) |
Definition at line 40 of file MercuryParticle.cpp.
void MercuryParticleField::Init | ( | ) | [virtual] |
void MercuryParticleField::Update | ( | const float | dTime | ) | [virtual] |
[internal] Update (call this update last when abstracting because Update can destroy the object)
Reimplemented from MercuryObject.
Definition at line 68 of file MercuryParticle.cpp.
void MercuryParticleField::CustomRender | ( | ) | [virtual] |
void MercuryParticleField::LoadImage | ( | MString | path | ) |
Definition at line 57 of file MercuryParticle.cpp.
void MercuryParticleField::ToggleDestroyOnEmpty | ( | bool | toggle | ) | [inline] |
Definition at line 26 of file MercuryParticle.h.
MercuryParticleField::CLASS_RTTI | ( | MercuryParticleField | , | |
MercuryObject | ||||
) |
Definition at line 31 of file MercuryParticle.h.
int MercuryParticleField::m_pointsize [private] |
Definition at line 32 of file MercuryParticle.h.
MString MercuryParticleField::m_imagePath [private] |
Definition at line 33 of file MercuryParticle.h.
MercurySprite* MercuryParticleField::m_origional [private] |
Definition at line 34 of file MercuryParticle.h.
bool MercuryParticleField::m_destroyOnEmpty [private] |
Definition at line 35 of file MercuryParticle.h.