00001 #ifndef HEADER_EFFECTZX_H
00002 #define HEADER_EFFECTZX_H
00003
00004 #include "ViewEffect.h"
00005
00006
00007
00008
00009 class EffectZx : public ViewEffect {
00010 private:
00011 enum eCorner {
00012 ZX1 = 1,
00013 ZX2 = 2,
00014 ZX3 = 3,
00015 ZX4 = 4
00016 };
00017 static const double STRIPE_STANDARD;
00018 static const double STRIPE_NARROW;
00019 int m_zx;
00020 int m_phase;
00021 double m_countHeight;
00022 double m_stripeHeight;
00023 public:
00024 EffectZx();
00025 virtual void updateEffect();
00026 virtual void blit(SDL_Surface *screen, SDL_Surface *surface,
00027 int x, int y);
00028 };
00029
00030 #endif