Debian Codegraph @

Oodle/src/CEffectSurface.h

raw
1 #ifndef _CEFFECTSURFACE_
2 #define _CEFFECTSURFACE_
3
4 class CEffectSurface : public CEffect
5 {
6 public:
7 bool hasImage() { return true; }
8 CSurface* getImage() { return &fx; }
9
10 protected:
11 CEffectSurface(int ticksPerFrame, bool concurrent, const CSurface &fx) : CEffect(ticksPerFrame, concurrent), fx(fx) {}
12
13 CSurface fx;
14 };
15
16 #endif