ParticleDefinition Class Reference

#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)
 copy constructor
 ~ParticleDefinition ()
const std::stringgetID () const
const std::stringgetImage () const
const std::stringgetModel () 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

Detailed Description

Definition at line 30 of file particles.h.


Member Typedef Documentation

typedef MemberCaller1<ParticleDefinition, const std::string&, &ParticleDefinition::particleChanged> ParticleDefinition::ParticleChangedCaller

Definition at line 106 of file particles.h.


Constructor & Destructor Documentation

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.

References _blend, _height, and _width.

ParticleDefinition::ParticleDefinition ( ParticleDefinition const &  copy  )  [inline]

copy constructor

Definition at line 59 of file particles.h.

References _blend, _height, and _width.

ParticleDefinition::~ParticleDefinition (  )  [inline]

Definition at line 67 of file particles.h.


Member Function Documentation

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.


Field Documentation

Definition at line 36 of file particles.h.

Referenced by getBlendMode(), and ParticleDefinition().

Definition at line 38 of file particles.h.

Referenced by getHeight(), and ParticleDefinition().

Definition at line 33 of file particles.h.

Referenced by getID().

Definition at line 35 of file particles.h.

Referenced by getImage().

Definition at line 34 of file particles.h.

Referenced by getModel().

Definition at line 37 of file particles.h.

Referenced by getWidth(), and ParticleDefinition().


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2