Main Page | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

WavyPicture.h

Go to the documentation of this file.
00001 #ifndef HEADER_WAVYPICTURE_H
00002 #define HEADER_WAVYPICTURE_H
00003 
00004 #include "Picture.h"
00005 
00006 /**
00007  * Wavy picture at fixed screen position.
00008  */
00009 class WavyPicture : public Picture {
00010     private:
00011         float m_amp;
00012         float m_periode;
00013         float m_speed;
00014     public:
00015         WavyPicture(const Path &file, const V2 &loc);
00016         void setWamp(float amplitude) { m_amp = amplitude; }
00017         void setWperiode(float periode) { m_periode = periode; }
00018         void setWspeed(float speed) { m_speed = speed; }
00019 
00020         virtual void drawOn(SDL_Surface *screen);
00021 };
00022 
00023 #endif

Generated on Wed Jun 1 09:54:32 2005 for Fish Fillets - Next Generation by  doxygen 1.4.2