Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/stardrawer.h')
-rw-r--r--src/client/stardrawer.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/client/stardrawer.h b/src/client/stardrawer.h
new file mode 100644
index 0000000..7656414
--- /dev/null
+++ b/src/client/stardrawer.h
@@ -0,0 +1,26 @@
+/* stardrawer.h
+ This file is part of the Osirion project and is distributed under
+ the terms and conditions of the GNU General Public License version 2
+*/
+
+#ifndef __INCLUDED_STARDRAWER_H__
+#define __INCLUDED_STARDRAWER_H__
+
+#include "gl/sphere.h"
+#include "game/star.h"
+
+/// Class to draw stars
+class StarDrawer
+{
+public:
+ StarDrawer(Star *s);
+ ~StarDrawer();
+
+ void draw(float elapsed);
+
+private:
+ Star *star;
+ gl::Sphere sphere;
+};
+
+#endif // __INCLUDED_STARDRAWER_H__