Debian Codegraph @

src/animations.h

raw symbols SCIP
1 // Copyright 2005 by Anthony Liekens [email protected]
2
3 #ifndef ANIMATIONS_H
4 #define ANIMATIONS_H
5
6 #include "actions.h"
7
8 class Planet;
9
10 class Animation : public Action {
11 public:
12 void execute( const Uint32& time ) {}
13 virtual void render(Uint32) = 0;
14 };
15
16 class AnimationQueue : public ActionQueue {
17 public:
18 void render(Uint32);
19 };
20
21 class SonarAnimation : public Animation {
22 private:
23 bool circle;
24 Planet* planet;
25 Uint32 startTime, endTime;
26 Uint8 r, g, b;
27 int size;
28 public:
29 SonarAnimation();
30 SonarAnimation( Planet* planet, const Uint32& color, const int& size, const Uint32& startTime, const Uint32& endTime, bool circle = false );
31 void render(Uint32);
32 };
33
34 #endif