____ _ __
/ __ )____ _____ | | / /___ ___________
/ __ / __ \/ ___/ | | /| / / __ `/ ___/ ___/
/ /_/ / /_/ (__ ) | |/ |/ / /_/ / / (__ )
/_____/\____/____/ |__/|__/\__,_/_/ /____/
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 | |
| StaticParticle (CPosition position, Animation *flame) | |
| virtual | ~StaticParticle () |
| virtual void | draw () |
| virtual void | update (int ticks) |
| virtual CParticle * | clone () |
Protected Attributes | |
| Animation * | animation |
Definition at line 109 of file particle.h.
Definition at line 35 of file staticparticle.cpp.
References Assert, and Animation::clone().
Referenced by clone().
| StaticParticle::~StaticParticle | ( | ) | [virtual] |
| void StaticParticle::draw | ( | ) | [virtual] |
Reimplemented from CParticle.
Definition at line 47 of file staticparticle.cpp.
References animation, Animation::draw(), CParticleManager::getScreenPos(), ParticleManager, CParticle::pos, CPosition::x, and CPosition::y.
| void StaticParticle::update | ( | int | ticks | ) | [virtual] |
Reimplemented from CParticle.
Definition at line 53 of file staticparticle.cpp.
References animation, CParticle::destroy(), Animation::isFinished(), and Animation::update().
| CParticle * StaticParticle::clone | ( | ) | [virtual] |
Implements CParticle.
Definition at line 61 of file staticparticle.cpp.
References animation, CParticle::pos, and StaticParticle().
Animation* StaticParticle::animation [protected] |
Definition at line 120 of file particle.h.
Referenced by clone(), draw(), update(), and ~StaticParticle().
1.5.6