$treeview $search $mathjax
Stratagus  2.2.6
$projectbrief
$projectbrief
$searchbox
-->
         _________ __                 __
        /   _____//  |_____________ _/  |______     ____  __ __  ______
        \_____  \\   __\_  __ \__  \\   __\__  \   / ___\|  |  \/  ___/
        /        \|  |  |  | \// __ \|  |  / __ \_/ /_/  >  |  /\___ \
       /_______  /|__|  |__|  (____  /__| (____  /\___  /|____//____  >
               \/                  \/          \//_____/            \/
    ______________________                           ______________________
                          T H E   W A R   B E G I N S
           Stratagus - A free fantasy real time strategy game engine

CChunkParticle Class Reference

#include <particle.h>

Inheritance diagram for CChunkParticle:

CParticle

List of all members.


Public Member Functions

chunkparticle.cpp - The chunk particle.
 CChunkParticle (CPosition position, Animation *smokeAnimation)
virtual ~CChunkParticle ()
virtual void draw ()
virtual void update (int ticks)
virtual CParticleclone ()

Protected Attributes

CPosition initialPos
int initialVelocity
float trajectoryAngle
int nextSmokeTicks
int lifetime
int age
float height
AnimationsmokeAnimation
struct {
   float   x
   float   y
direction

Constructor & Destructor Documentation

CChunkParticle::CChunkParticle ( CPosition  position,
Animation smokeAnimation 
)

CChunkParticle::~CChunkParticle (  )  [virtual]


Member Function Documentation

void CChunkParticle::draw (  )  [virtual]

Reimplemented from CParticle.

void CChunkParticle::update ( int  ticks  )  [virtual]

Reimplemented from CParticle.

CParticle * CChunkParticle::clone (  )  [virtual]

Implements CParticle.


Member Data Documentation

int CChunkParticle::lifetime [protected]

int CChunkParticle::age [protected]

float CChunkParticle::height [protected]

struct { ... } CChunkParticle::direction [protected]


The documentation for this class was generated from the following files:
(C) Copyright 1998-2011 by The Stratagus Project under the GNU General Public License.
All trademarks and copyrights on this page are owned by their respective owners.