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

AnimatedPerlinTexture.h

Go to the documentation of this file.
00001 #ifndef ANIMATEDPERLINTEXTURE_H
00002 #define ANIMATEDPERLINTEXTURE_H
00003 
00004 #include "PerlinTexture.h"
00005 
00006 class AnimatedPerlinTexture {
00007   public:
00008     AnimatedPerlinTexture();
00009     AnimatedPerlinTexture(double as);
00010     ~AnimatedPerlinTexture();
00011     void set_animation_step(double as) { animation_step = as; }
00012     double get_animation_step() { return animation_step; }
00013     PerlinTexture* get_image_ref() { return curr; }
00014     void animate(double dt);
00015   private:
00016     void _init_textures();
00017     PerlinTexture* next;
00018     PerlinTexture* last;
00019     PerlinTexture* curr;
00020     double elapsed_time;
00021     double animation_step;
00022 };
00023 
00024 #endif

Generated on Sat Jul 12 04:29:20 2003 for glPirates by doxygen 1.3.2