_________ __ __
/ _____// |_____________ _/ |______ ____ __ __ ______
\_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/
/ \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \
/_______ /|__| |__| (____ /__| (____ /\___ /|____//____ >
\/ \/ \//_____/ \/
______________________ ______________________
T H E W A R B E G I N S
Stratagus - A free fantasy real time strategy game engine
#include <particle.h>
Public Member Functions | |
smokeparticle.cpp - The smoke particle. | |
| CSmokeParticle (CPosition position, GraphicAnimation *animation, float speedx=0, float speedy=-22.0f, int drawlevel=0) | |
| virtual | ~CSmokeParticle () |
| virtual bool | isVisible (const CViewport &vp) const |
| virtual void | draw () |
| virtual void | update (int ticks) |
| virtual CParticle * | clone () |
Public Member Functions inherited from CParticle | |
| CParticle (CPosition position, int drawlevel=0) | |
| virtual | ~CParticle () |
| void | destroy () |
| bool | isDestroyed () |
| int | getDrawLevel () const |
| void | setDrawLevel (int value) |
Protected Attributes | |
| GraphicAnimation * | puff |
| struct { | |
| float x | |
| float y | |
| } | speedVector |
Protected Attributes inherited from CParticle | |
| CPosition | pos |
| bool | destroyed |
| int | drawLevel |
| CSmokeParticle::CSmokeParticle | ( | CPosition | position, |
| GraphicAnimation * | animation, | ||
| float | speedx = 0, |
||
| float | speedy = -22.0f, |
||
| int | drawlevel = 0 |
||
| ) |
|
virtual |
|
virtual |
Implements CParticle.
|
virtual |
Implements CParticle.
|
protected |
| struct { ... } CSmokeParticle::speedVector |
| float CSmokeParticle::x |
| float CSmokeParticle::y |
1.8.9.1
(C) Copyright 1998-2012 by The Stratagus Project under the GNU General Public License.