Debian Codegraph @

Oodle/src/CReverseBlackEffect.h

raw
1 #ifndef _CREVERSEBLACKEFFECT_
2 #define _CREVERSEBLACKEFFECT_
3
4 #include "CEffectSurface.h"
5
6 class CReverseBlackEffect : public CEffect
7 {
8 public:
9 CReverseBlackEffect(int duration, bool concurrent, const CSurface &fx);
10 CReverseBlackEffect* getCopy();
11 void doUpdate() {}
12 bool hasDraw() { return true; }
13
14 void draw(CSurface &s, int x, int y);
15
16 private:
17 int duration;
18 CSurface black;
19 const CSurface &src;
20 };
21
22 #endif