____ _ __
/ __ )____ _____ | | / /___ ___________
/ __ / __ \/ ___/ | | /| / / __ `/ ___/ ___/
/ /_/ / /_/ (__ ) | |/ |/ / /_/ / / (__ )
/_____/\____/____/ |__/|__/\__,_/_/ /____/
A futuristic real-time strategy game.
This file is part of Bos Wars.
(C) Copyright 2001-2007 by the Bos Wars and Stratagus Project.
Distributed under the "GNU General Public License"#include <particle.h>

Public Member Functions | |
| CSmokeParticle (CPosition position, Animation *animation) | |
| virtual | ~CSmokeParticle () |
| virtual void | draw () |
| virtual void | update (int ticks) |
| virtual CParticle * | clone () |
Protected Attributes | |
| Animation * | puff |
Definition at line 153 of file particle.h.
| CSmokeParticle::~CSmokeParticle | ( | ) | [virtual] |
| void CSmokeParticle::draw | ( | ) | [virtual] |
Reimplemented from CParticle.
Definition at line 48 of file smokeparticle.cpp.
References Animation::draw(), CParticleManager::getScreenPos(), ParticleManager, CParticle::pos, puff, CPosition::x, and CPosition::y.
| void CSmokeParticle::update | ( | int | ticks | ) | [virtual] |
Reimplemented from CParticle.
Definition at line 54 of file smokeparticle.cpp.
References CParticle::destroy(), Animation::isFinished(), CParticle::pos, puff, Animation::update(), and CPosition::y.
| CParticle * CSmokeParticle::clone | ( | ) | [virtual] |
Implements CParticle.
Definition at line 67 of file smokeparticle.cpp.
References CSmokeParticle(), CParticle::pos, and puff.
Animation* CSmokeParticle::puff [protected] |
Definition at line 164 of file particle.h.
Referenced by clone(), draw(), update(), and ~CSmokeParticle().
1.5.6