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

Protected Attributes | List of all members
CRadialParticle Class Reference

#include <particle.h>

Inheritance diagram for CRadialParticle:
CParticle

Public Member Functions

radialparticle.cpp - The radial particle.
 CRadialParticle (CPosition position, GraphicAnimation *animation, int maxSpeed, int drawlevel=0)
 
virtual ~CRadialParticle ()
 
virtual bool isVisible (const CViewport &vp) const
 
virtual void draw ()
 
virtual void update (int ticks)
 
virtual CParticleclone ()
 
- 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

GraphicAnimationanimation
 
float direction
 
int speed
 
int maxSpeed
 
- Protected Attributes inherited from CParticle
CPosition pos
 
bool destroyed
 
int drawLevel
 

Constructor & Destructor Documentation

◆ CRadialParticle()

CRadialParticle::CRadialParticle ( CPosition  position,
GraphicAnimation animation,
int  maxSpeed,
int  drawlevel = 0 
)

◆ ~CRadialParticle()

CRadialParticle::~CRadialParticle ( )
virtual

Member Function Documentation

◆ clone()

CParticle * CRadialParticle::clone ( )
virtual

Implements CParticle.

◆ draw()

void CRadialParticle::draw ( )
virtual

Implements CParticle.

◆ isVisible()

bool CRadialParticle::isVisible ( const CViewport vp) const
virtual

Implements CParticle.

◆ update()

void CRadialParticle::update ( int  ticks)
virtual

Implements CParticle.

Member Data Documentation

◆ animation

GraphicAnimation* CRadialParticle::animation
protected

◆ direction

float CRadialParticle::direction
protected

◆ maxSpeed

int CRadialParticle::maxSpeed
protected

◆ speed

int CRadialParticle::speed
protected

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