____ _ __
/ __ )____ _____ | | / /___ ___________
/ __ / __ \/ ___/ | | /| / / __ `/ ___/ ___/
/ /_/ / /_/ (__ ) | |/ |/ / /_/ / / (__ )
/_____/\____/____/ |__/|__/\__,_/_/ /____/
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 | |
| CParticle (CPosition position) | |
| virtual | ~CParticle () |
| virtual void | draw () |
| virtual void | update (int ticks) |
| void | destroy () |
| bool | isDestroyed () |
| virtual CParticle * | clone ()=0 |
Protected Attributes | |
| CPosition | pos |
| bool | destroyed |
Definition at line 87 of file particle.h.
| CParticle::CParticle | ( | CPosition | position | ) | [inline] |
Definition at line 90 of file particle.h.
| virtual CParticle::~CParticle | ( | ) | [inline, virtual] |
Definition at line 93 of file particle.h.
| virtual void CParticle::draw | ( | ) | [inline, virtual] |
Reimplemented in StaticParticle, CChunkParticle, and CSmokeParticle.
Definition at line 95 of file particle.h.
| virtual void CParticle::update | ( | int | ticks | ) | [inline, virtual] |
Reimplemented in StaticParticle, CChunkParticle, and CSmokeParticle.
Definition at line 96 of file particle.h.
| void CParticle::destroy | ( | ) | [inline] |
Definition at line 98 of file particle.h.
References destroyed.
Referenced by StaticParticle::update(), CSmokeParticle::update(), and CChunkParticle::update().
| bool CParticle::isDestroyed | ( | ) | [inline] |
| virtual CParticle* CParticle::clone | ( | ) | [pure virtual] |
Implemented in StaticParticle, CChunkParticle, and CSmokeParticle.
CPosition CParticle::pos [protected] |
Definition at line 104 of file particle.h.
Referenced by StaticParticle::clone(), CSmokeParticle::clone(), CChunkParticle::clone(), StaticParticle::draw(), CSmokeParticle::draw(), CChunkParticle::draw(), CSmokeParticle::update(), and CChunkParticle::update().
bool CParticle::destroyed [protected] |
1.5.6