_________ __ __ / _____// |_____________ _/ |______ ____ __ __ ______ \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ /_______ /|__| |__| (____ /__| (____ /\___ /|____//____ > \/ \/ \//_____/ \/ ______________________ ______________________ 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 | |
CParticle (CPosition position, int drawlevel=0) | |
virtual | ~CParticle () |
virtual bool | isVisible (const CViewport &vp) const =0 |
virtual void | draw ()=0 |
virtual void | update (int)=0 |
void | destroy () |
bool | isDestroyed () |
virtual CParticle * | clone ()=0 |
int | getDrawLevel () const |
void | setDrawLevel (int value) |
Protected Attributes | |
CPosition | pos |
bool | destroyed |
int | drawLevel |
|
inline |
|
inlinevirtual |
|
pure virtual |
Implemented in CRadialParticle, CSmokeParticle, CChunkParticle, and StaticParticle.
|
inline |
|
pure virtual |
Implemented in CRadialParticle, CSmokeParticle, CChunkParticle, and StaticParticle.
|
inline |
|
inline |
|
pure virtual |
Implemented in CRadialParticle, CSmokeParticle, CChunkParticle, and StaticParticle.
|
inline |
|
pure virtual |
Implemented in CRadialParticle, CSmokeParticle, CChunkParticle, and StaticParticle.
|
protected |
|
protected |
|
protected |