Debian Codegraph @

src/effect/EffectMirror.h

raw
1 #ifndef HEADER_EFFECTMIRROR_H
2 #define HEADER_EFFECTMIRROR_H
3
4 #include "ViewEffect.h"
5
6 /**
7 * Mirror reflect left side.
8 */
9 class EffectMirror : public ViewEffect {
10 private:
11 static const int MIRROR_BORDER = 3;
12 public:
13 static const char *NAME;
14 virtual const char* getName() const { return NAME; }
15 virtual void blit(SDL_Surface *screen, SDL_Surface *surface,
16 int x, int y);
17 };
18
19 #endif