Simple starter skeleton for asteroids video game.

Dependencies:   PinDetect

Revision:
3:98aa3db6a48f
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/CommandShip.h	Thu Apr 01 19:10:58 2021 +0000
@@ -0,0 +1,22 @@
+#pragma once
+#include <list>
+#include "Sprite.h"
+#include "Projectile.h"
+
+#define NUM_LASERS 5
+
+
+class CommandShip : public Sprite
+{
+public:    
+    CommandShip();
+    virtual void move();
+    virtual bool checkCollision(const Sprite &InSprite) {return false;}    
+    
+    void rotateLeft(); // if rotating right just stop in place
+    void rotateRight(); // if rotating right just stop in place
+    void fire();
+    
+    Projectile m_lasers[NUM_LASERS];
+
+};
\ No newline at end of file