ELEC2645 (2018/19) / Mbed 2 deprecated el17ttds

Dependencies:   mbed N5110_tf

Revision:
6:e8c03f264ffc
Parent:
4:3446009e2f38
Child:
9:3a0194c87afe
--- a/Map/Map.cpp	Tue May 07 20:40:22 2019 +0000
+++ b/Map/Map.cpp	Wed May 08 19:05:36 2019 +0000
@@ -37,10 +37,6 @@
       _x1_pos = 0;
       _w = _swidth / 2;
   }
-  if (_x2 < (_swidth / 2)) {
-    _x2 = (_swidth / 2);
-    // _x1 = -100; do this in Engine
-  }
 }
 
 void Map::veritical() {
@@ -53,10 +49,6 @@
       _y1_pos = 0;
       _h = _sheight / 2;
   }
-  if (_y2 < (_sheight / 2)) {
-    _y2 = (_sheight / 2);
-    // _y1 = -100; do this in Engine
-  }
 }
 
 void Map::draw(N5110 &lcd) {