- Main Page
- Classes
- Files

- Class List
- Class Hierarchy
- Class Members

# CFlame Class Reference

Class Particle Flame. More...

`#include <Particles.h>`

Inheritance diagram for CFlame:

[legend]
Collaboration diagram for CFlame:

[legend]

List of all members.

## Public Member Functions
| CFlame (int numParticles, float radius, D3DCOLOR color)
| Standard constructor.
void | resetParticle (Attribute *attribute)
| Reset particle to initial position.
void | Update (float timeDelta, bool slow, bool follow)
| Moves particle by one frame.

## Detailed Description

Class Particle Flame.

Flame effect emits particles above magic flowers, making them rise up and disappear.

Author:
  Petar Bajic

Date:
  January, 16 2007.

## Constructor & Destructor Documentation

CFlame::CFlame | ( | int | numParticles,
|  | float | radius,
|  | D3DCOLOR | color |
| ) |  |  |

Standard constructor.

Author:
  Petar Bajic

Date:
  January, 16 2007.

## Member Function Documentation

void CFlame::resetParticle | ( | Attribute * | attribute | ) | `[virtual]`

Reset particle to initial position.

Author:
  Petar Bajic

Date:
  January, 16 2007.

Implements PSystem.

void CFlame::Update | ( | float | timeDelta,
|  | bool | trt,
|  | bool | trt2 |
| ) |  |  | `[virtual]`

Moves particle by one frame.

Parameters:

  | timeDelta | this parameter is time between frames

Author:
  Petar Bajic

Date:
  January, 16 2007.

Implements PSystem.

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

- My Documents/TS2/inc/Particles.h
- My Documents/TS2/src/Particles.cpp