____                _       __
    / __ )____  _____   | |     / /___ ___________
   / __  / __ \/ ___/   | | /| / / __ `/ ___/ ___/
  / /_/ / /_/ (__  )    | |/ |/ / /_/ / /  (__  )
 /_____/\____/____/     |__/|__/\__,_/_/  /____/

       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"

StaticParticle Class Reference

#include <particle.h>

Inheritance diagram for StaticParticle:

CParticle

List of all members.

Public Member Functions

 StaticParticle (CPosition position, Animation *flame)
virtual ~StaticParticle ()
virtual void draw ()
virtual void update (int ticks)
virtual CParticleclone ()

Protected Attributes

Animationanimation


Detailed Description

Definition at line 109 of file particle.h.


Constructor & Destructor Documentation

StaticParticle::StaticParticle ( CPosition  position,
Animation flame 
)

Definition at line 35 of file staticparticle.cpp.

References Assert, and Animation::clone().

Referenced by clone().

StaticParticle::~StaticParticle (  )  [virtual]

Definition at line 42 of file staticparticle.cpp.

References animation.


Member Function Documentation

void StaticParticle::draw (  )  [virtual]

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().


Member Data Documentation

Definition at line 120 of file particle.h.

Referenced by clone(), draw(), update(), and ~StaticParticle().


The documentation for this class was generated from the following files:

Generated on Sat Feb 21 00:28:25 2009 for Bos Wars by  doxygen 1.5.6