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
Diff: Fruit.h
- Revision:
- 2:15120c2cf507
- Parent:
- 1:d9e03c7482ad
- Child:
- 3:aecb8ec9c91d
--- a/Fruit.h Tue Apr 04 16:33:38 2017 +0000 +++ b/Fruit.h Sat Apr 22 12:32:50 2017 +0000 @@ -12,14 +12,23 @@ Fruit(); ~Fruit(); + //STRAWBERRY DRAW/UNDRAW// void draw_strawberry(int x, int y, N5110 &lcd); void undraw_strawberry(int x, int y, N5110 &lcd); + + //PINEAPPLE DRAW/UNDRAW// void draw_pineapple(int x, int y, N5110 &lcd); void undraw_pineapple(int x, int y, N5110 &lcd); + + //PEAR DRAW/UNDRAW// void draw_pear(int x, int y, N5110 &lcd); void undraw_pear(int x, int y, N5110 &lcd); + + //MELON DRAW/UNDRAW// void draw_melon(int x, int y, N5110 &lcd); void undraw_melon(int x, int y, N5110 &lcd); + + //ANTIFRUIT DRAW/UNDRAW// void draw_antifruit(int x, int y, N5110 &lcd); void undraw_antifruit(int x, int y, N5110 &lcd);