Debian Codegraph @

Oodle/src/CRotateEffect.h

raw
1 #ifndef _CROTATEEFFECT_
2 #define _CROTATEEFFECT_
3
4 class CRotateEffect : public CTimedEvent
5 {
6 public:
7 CRotateEffect(int rotations, int time, CSprite &s, bool concurrent) : s(s), time(time), rotations(rotations), CTimedEvent(0, concurrent) {}
8 CRotateEffect* getCopy() { return new CRotateEffect(*this); }
9
10 void doUpdate();
11
12 private:
13 CSprite &s;
14 int rotations;
15 unsigned int time;
16 };
17
18 #endif