Image library for all the graph. Just test

Revision:
6:100377ba0900
Parent:
5:2dfd00ecc02e
--- a/Image.h	Mon May 06 13:17:38 2019 +0000
+++ b/Image.h	Thu May 09 02:25:24 2019 +0000
@@ -8,15 +8,18 @@
 
 class Rotate;
 
-class Image {
- public: 
-    void draw_1(N5110 &lcd);
-    void draw_2(N5110 &lcd);
-    void draw_3(N5110 &lcd);
-    void hanging(int x, int y, const int *graph, N5110 &lcd, Image &Image, float time, int new_score,  Rotate &Rotate, float angle, float speed, int sizex, int sizey);
-    void hanging_2(int x, int y, const int *graph, N5110 &lcd, Image &Image, float time, int new_score,  Rotate &Rotate, float angle, float speed, int sizex, int sizey);
-    void hanging_3(int x, int y, const int *graph, N5110 &lcd, Image &Image, float time, int new_score,  Rotate &Rotate, float angle, float speed, int sizex, int sizey); 
-    };    
+class Image
+{
+public:
+    void draw_object(int x, int y, const int *graph, N5110 &lcd, Image &Image, float time, Rotate &Rotate, float angle, float speed, int sizex, int sizey);
+    void draw_object_2(int x, int y, const int *graph, N5110 &lcd, Image &Image, float time, Rotate &Rotate, float angle, float speed, int sizex, int sizey);
+    void draw_object_3(int x, int y, const int *graph, N5110 &lcd, Image &Image, float time, Rotate &Rotate, float angle, float speed, int sizex, int sizey);
+private:
+    void print_UI(N5110 &lcd);
+    void draw_map_1(N5110 &lcd);
+    void draw_map_2(N5110 &lcd);
+    void draw_map_3(N5110 &lcd);
+};
 
 
 #endif
\ No newline at end of file