.. index:: pair: class; EE::Graphics::Particle .. _doxid-class_e_e_1_1_graphics_1_1_particle: class EE::Graphics::Particle ============================ .. toctree:: :hidden: A simple particle class used by the particle system. Probably not useful for the end user. .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include class Particle { public: // construction :target:`~Particle`(); // methods void :target:`setColor`(:ref:`ColorAf` Color, :ref:`Float` alphaDecay); const :ref:`ColorAf`& :target:`getColor`() const; :ref:`Float` :target:`r`(); :ref:`Float` :target:`g`(); :ref:`Float` :target:`b`(); :ref:`Float` :target:`a`(); void :target:`reset`( const :ref:`Float`& x, const :ref:`Float`& y, const :ref:`Float`& xspeed, const :ref:`Float`& yspeed, const :ref:`Float`& xacc, const :ref:`Float`& yacc, const :ref:`Float` size = 16 ); void :target:`update`(const :ref:`Float`& pTime); void :target:`setX`(const :ref:`Float`& x); const :ref:`Float`& :target:`getX`() const; void :target:`setY`(const :ref:`Float`& y); const :ref:`Float`& :target:`getY`() const; void :target:`setXSpeed`(const :ref:`Float` xspeed); const :ref:`Float`& :target:`getXSpeed`() const; void :target:`setYSpeed`(const :ref:`Float`& yspeed); const :ref:`Float`& :target:`getYSpeed`() const; void :target:`setXAcc`(const :ref:`Float`& xacc); const :ref:`Float`& :target:`getXAcc`() const; void :target:`setYAcc`(const :ref:`Float`& yacc); const :ref:`Float`& :target:`getYAcc`() const; void :target:`setAlphaDecay`(const :ref:`Float`& alphadecay); const :ref:`Float`& :target:`getAlphaDecay`() const; void :target:`setSize`(const :ref:`Float`& size); const :ref:`Float`& :target:`getSize`() const; void :target:`setUsed`(const bool& used); bool :target:`isUsed`() const; void :target:`setId`(const :ref:`Uint32`& id); const :ref:`Uint32`& :target:`getId`() const; };