Accompanying library for Objects. Library contains five shapes that are selected at random by the Objects library and drawn on to the objects on a Nokia N5110 LCD display.

Dependents:   Game_Controller_Project

Revision:
0:1976fca8d66a
Child:
1:d9e03c7482ad
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Fruit.h	Mon Mar 27 18:32:24 2017 +0000
@@ -0,0 +1,27 @@
+#ifndef FRUIT_H
+#define FRUIT_H
+
+#include "mbed.h"
+#include "N5110.h"
+#include "Gamepad.h"
+
+class Fruit
+{
+    public:
+    
+    Fruit();
+    ~Fruit();
+    
+    void draw_strawberry(int x, int y, N5110 &lcd);
+    void undraw_strawberry(int x, int y, N5110 &lcd);
+    void draw_pineapple(int x, int y, N5110 &lcd);
+    void undraw_pineapple(int x, int y, N5110 &lcd);
+    void draw_pear(int x, int y, N5110 &lcd);
+    void undraw_pear(int x, int y, N5110 &lcd);
+    void draw_melon(int x, int y, N5110 &lcd);
+    void undraw_melon(int x, int y, N5110 &lcd);
+    
+    private:
+    
+};
+#endif
\ No newline at end of file