Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

WaterFall Class Reference

#include <WaterFall.h>

Inheritance diagram for WaterFall:

[legend]
Collaboration diagram for WaterFall:
[legend]
List of all members.

Public Methods

 WaterFall (string filename="")
virtual ~WaterFall ()
virtual void draw ()
virtual void addWater (Vector3 v)

Protected Methods

void createParticles ()

Protected Attributes

double _minX
double _maxX
double _minZ
double _maxZ
double _y
bool _particlesCreated
vector< Particle * > _particles
Vector3 _textureTranslate

Detailed Description

Class to draw a water fall


Constructor & Destructor Documentation

WaterFall::WaterFall string    filename = ""
 

WaterFall::~WaterFall   [virtual]
 


Member Function Documentation

void WaterFall::addWater Vector3    v [virtual]
 

Add another section to the river

Reimplemented from Water.

void WaterFall::createParticles   [protected]
 

void WaterFall::draw   [virtual]
 

Reimplemented from Object.


Member Data Documentation

double WaterFall::_maxX [protected]
 

double WaterFall::_maxZ [protected]
 

double WaterFall::_minX [protected]
 

double WaterFall::_minZ [protected]
 

vector< Particle * > WaterFall::_particles [protected]
 

bool WaterFall::_particlesCreated [protected]
 

Vector3 WaterFall::_textureTranslate [protected]
 

double WaterFall::_y [protected]
 


The documentation for this class was generated from the following files:
Generated on Wed Apr 21 11:11:14 2004 for naturecalls by doxygen1.2.18