test 1 doc

Dependencies:   mbed Gamepad2

Revision:
7:530ca713d2b2
Parent:
6:00d20886e4f8
diff -r 00d20886e4f8 -r 530ca713d2b2 Platform/Platform.cpp
--- a/Platform/Platform.cpp	Mon May 25 16:17:58 2020 +0000
+++ b/Platform/Platform.cpp	Tue May 26 01:45:20 2020 +0000
@@ -15,7 +15,7 @@
 
 
 ////////////////////// DRAW  //////////////////////////
-void Platform::draws(N5110 &lcd)
+void Platform::draw(N5110 &lcd)
 {
     lcd.drawRect(_x, _y, _width, _height, FILL_TRANSPARENT);
     //debug prints
@@ -31,22 +31,4 @@
 
 
 
-//------------------------------MAPS-----------------------------------//
 
-Platform maps[4] = {Platform(0, 15, 20, 3), Platform(64, 15, 20, 3), Platform(0, 40, 20, 3), Platform(64, 40, 20, 3)};
-
-////////////////////// DRAW MAP //////////////////////////
-void drawMap(N5110 &lcd)
-{
-    Vector4 coords;
-    for (int i = 0; i < 4; i++) {
-        maps[i].draws(lcd);
-        coords = maps[i].get_pos();
-        
-        //debugs
-        //printf("x: %i, y: %i,w: %i,h: %i \n",coords.x, coords.y, coords.width, coords.height);
-    }
-        //debugs
-        //printf("-----------------------------------------\n");
-}
-