00001 #ifndef HEADER_WAVYPICTURE_H
00002 #define HEADER_WAVYPICTURE_H
00003
00004 #include "Picture.h"
00005
00006
00007
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