@@ -0,0 +1,566 @@
+%0Apublic class Obstacle %7B%0A%09int minX, minY, maxX, maxY;%0A%09int height = 20, width = 20;%0A%09%0A%09SafeArea sa;%0A%09public Obstacle(ZoneModel zm) %7B%0A%09%09this.minX = zm.getZoneMinX() + 100;%0A%09%09this.minY = zm.getZoneMinY() + 100;%0A%09%09this.maxX = this.minX + 20;%0A%09%09this.maxY = this.minY + 20;%0A%09%09this.sa = new SafeArea(minX, minY);%0A%09%7D%0A%09%0A%7D%0A%0Aclass SafeArea %7B%0A%09%0A%09public int minX;%0A%09public int minY;%0A%09public int maxX;%0A%09public int maxY;%0A%09%0A%09public SafeArea(int minX, int minY) %7B%0A%09%09this.minX = minX - 50;%0A%09%09this.maxX = this.minX + 120;%0A%09%09this.minY = minY - 41;%0A%09%09this.maxY = this.minY + 100;%0A%09%7D%0A%09%0A%7D%0A

Create separate obstacle