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

WaterFall.h

Go to the documentation of this file.
00001 #ifndef _WATERFALL_H_
00002 #define _WATERFALL_H_
00003 
00004 #include "Particle.h"
00005 #include "Water.h"
00006 
00010 class WaterFall : public Water
00011 {
00012  public:
00013   WaterFall(string filename = "");
00014   virtual ~WaterFall();
00015 
00016   virtual void draw();
00017   virtual void addWater(Vector3 v);
00018 
00019  protected:
00020   void createParticles();
00021 
00022   double _minX, _maxX;
00023   double _minZ, _maxZ;
00024   double _y;
00025   bool _particlesCreated;
00026 
00027   vector < Particle * > _particles;
00028   Vector3 _textureTranslate;
00029 };
00030 
00031 #endif

Generated on Wed Apr 21 11:10:53 2004 for naturecalls by doxygen1.2.18