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/shipdrawer.h')
-rw-r--r--src/client/shipdrawer.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/client/shipdrawer.h b/src/client/shipdrawer.h
new file mode 100644
index 0000000..8860585
--- /dev/null
+++ b/src/client/shipdrawer.h
@@ -0,0 +1,26 @@
+/* shipdrawer.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_SHIPDRAWER_H__
+#define __INCLUDED_SHIPDRAWER_H__
+
+// project headers
+#include "game/ship.h"
+
+class ShipDrawer
+{
+public:
+ ShipDrawer(Ship *s);
+ ~ShipDrawer();
+
+ /// update the model state
+ void draw(float elapsed);
+
+private:
+ Ship *ship;
+ float angle;
+};
+
+#endif // __INCLUDED_SHIPDRAWER_H__