Simple starter skeleton for asteroids video game.

Dependencies:   PinDetect

Revision:
2:30020ddfccf6
Child:
3:98aa3db6a48f
diff -r a6872783beca -r 30020ddfccf6 Sprite.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Sprite.h	Sat Mar 02 16:11:43 2019 +0000
@@ -0,0 +1,29 @@
+#pragma once
+
+class Sprite
+{
+public:
+    enum enDIRECTIONS {NO_DIR, UP_DIR, DOWN_DIR, LEFT_DIR, RIGHT_DIR};
+    // Default Constructor
+    Sprite();
+    // Constructor
+    Sprite(enDIRECTIONS inDir, unsigned int inRow, unsigned int inCol);
+    
+    ~Sprite(){};
+    
+    void SetDesiredDirectionToMove(enDIRECTIONS dir);
+    
+        
+    virtual void Move() {}
+    virtual bool IsMoveAllowed() {return false;}
+    
+protected:
+    
+    enDIRECTIONS m_CurrentDirection;
+    enDIRECTIONS m_DesiredDirection;
+    
+    unsigned int m_RowPos;
+    unsigned int m_ColPos;
+    
+    
+};
\ No newline at end of file