#include <particles.h>
Public Types | |
typedef MemberCaller1 < ParticleDefinition, const std::string &,&ParticleDefinition::particleChanged > | ParticleChangedCaller |
Public Member Functions | |
ParticleDefinition (const std::string &id) | |
ParticleDefinition (const std::string &id, const std::string &modelName, const std::string &imageName, int blend, int width, int height) | |
ParticleDefinition (ParticleDefinition const ©) | |
copy constructor | |
~ParticleDefinition () | |
const std::string & | getID () const |
const std::string & | getImage () const |
const std::string & | getModel () const |
const int | getBlendMode () const |
const int | getWidth () const |
const int | getHeight () const |
void | particleChanged (const std::string &id) |
Private Attributes | |
std::string | _id |
std::string | _modelName |
std::string | _imageName |
int | _blend |
int | _width |
int | _height |
Definition at line 30 of file particles.h.
typedef MemberCaller1<ParticleDefinition, const std::string&, &ParticleDefinition::particleChanged> ParticleDefinition::ParticleChangedCaller |
Definition at line 106 of file particles.h.
ParticleDefinition::ParticleDefinition | ( | const std::string & | id | ) | [inline] |
Definition at line 41 of file particles.h.
References _blend, _height, _width, and BLEND_REPLACE.
ParticleDefinition::ParticleDefinition | ( | const std::string & | id, | |
const std::string & | modelName, | |||
const std::string & | imageName, | |||
int | blend, | |||
int | width, | |||
int | height | |||
) | [inline] |
Definition at line 49 of file particles.h.
ParticleDefinition::ParticleDefinition | ( | ParticleDefinition const & | copy | ) | [inline] |
ParticleDefinition::~ParticleDefinition | ( | ) | [inline] |
Definition at line 67 of file particles.h.
const int ParticleDefinition::getBlendMode | ( | ) | const [inline] |
Definition at line 86 of file particles.h.
References _blend.
const int ParticleDefinition::getHeight | ( | ) | const [inline] |
Definition at line 96 of file particles.h.
References _height.
const std::string& ParticleDefinition::getID | ( | ) | const [inline] |
Definition at line 71 of file particles.h.
References _id.
const std::string& ParticleDefinition::getImage | ( | ) | const [inline] |
Definition at line 76 of file particles.h.
References _imageName.
const std::string& ParticleDefinition::getModel | ( | ) | const [inline] |
Definition at line 81 of file particles.h.
References _modelName.
const int ParticleDefinition::getWidth | ( | ) | const [inline] |
Definition at line 91 of file particles.h.
References _width.
void ParticleDefinition::particleChanged | ( | const std::string & | id | ) | [inline] |
Definition at line 101 of file particles.h.
int ParticleDefinition::_blend [private] |
Definition at line 36 of file particles.h.
Referenced by getBlendMode(), and ParticleDefinition().
int ParticleDefinition::_height [private] |
Definition at line 38 of file particles.h.
Referenced by getHeight(), and ParticleDefinition().
std::string ParticleDefinition::_id [private] |
Definition at line 33 of file particles.h.
Referenced by getID().
std::string ParticleDefinition::_imageName [private] |
Definition at line 35 of file particles.h.
Referenced by getImage().
std::string ParticleDefinition::_modelName [private] |
Definition at line 34 of file particles.h.
Referenced by getModel().
int ParticleDefinition::_width [private] |
Definition at line 37 of file particles.h.
Referenced by getWidth(), and ParticleDefinition().