1 // Copyright 2005 by Anthony Liekens anthony@liekens.net
2 
3 #ifndef UNIVERSE_H
4 #define UNIVERSE_H
5 
6 class Stars;
7 class Planet;
8 class Planets;
9 class Player;
10 class ActionQueue;
11 class AnimationQueue;
12 
13 class Universe {
14 public:
15   Stars* stars;
16   Planets* planets;
17   ActionQueue* actionQueue;
18   AnimationQueue* animationQueue;
19 
20   Planet* currentSelectedPlanet;
21 
22   Universe();
23   Universe( int nrPlanets );
24   ~Universe();
25 
26   void highlightNearestPlanet(int x, int y);
27 
28   void update(Uint32);
29 
30   void renderBackground(Uint32);
31   void renderForeground(Uint32);
32 
33   void claim(Uint32, Player *, int, int);
34   void claimRemaining(Uint32, Player *, int, int);
35 };
36 
37 #endif
38