Nemesis game, rocket

Revision:
10:71e2de3ae034
Child:
11:7734b721ed43
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Rocket.h	Tue May 02 22:13:39 2017 +0000
@@ -0,0 +1,52 @@
+#ifndef ROCKET_H
+#define ROCKET_H
+
+#include "mbed.h"
+#include "N5110.h"
+#include "Gamepad.h"
+#include "Friendly.h"
+
+class Rocket
+{
+
+public:
+
+    /// Constructors and destructors:
+    Rocket();
+    ~Rocket();
+    
+    
+    ////////////////////////////////
+    //////// PUBLIC VARIABLES 
+    ////////////////////////////////
+    
+    
+    /** Initialize Rocket
+    *   
+    *   Initializes rocket x & y positions.
+    */
+    void init(int x, int y);
+    
+    
+    /** Draw Rocket
+    *   
+    *   Draws the rocket onto the LCD, in accordance with the parameters initialized in the "init" method.
+    */
+    void draw(N5110 &lcd);
+    
+    
+private:
+
+
+    ////////////////////////////////
+    //////// PRIVATE VARIABLES
+    ////////////////////////////////
+    
+    
+    /// Integer variables to store the x and y coordinates of the friendly ship:
+    int _x;
+    int _y;
+    
+};
+
+#endif
\ No newline at end of file