Browse Source

reupload the improved entrance area.... and removed the already moved exit and acces point

jancoow 10 years ago
parent
commit
398488f084

+ 0 - 37
src/gui/simulator/AccessPoint.java

@@ -1,37 +0,0 @@
-package gui.simulator;
-
-import gui.simulator.facilities.ImageType;
-
-import java.awt.geom.Rectangle2D;
-import java.io.Serializable;
-
-public class AccessPoint extends DrawEngine implements Serializable {
-	
-	private static ImageType images = ImageType.Entrance;
-	private static String facilityName = "Ingang";
-	private Terrain terrain;
-	
-	
-    //TODO change visilibty
-    public AccessPoint(Terrain terrain, int x, int y) {
-        super(images, x, y, 1, 0, SimulatorPane.Objects.ENTRANCE, terrain, new Rectangle2D.Double(-10, -10, 430, 170), true);
-        this.terrain = terrain;
-    }
-
-    public AccessPoint(Terrain terrain, int x, int y, double scale, double distance) {
-        super(images, x, y, scale, distance, SimulatorPane.Objects.ENTRANCE, terrain, new Rectangle2D.Double(-10, -10, 430, 170), true);
-        this.terrain = terrain;
-    }
-    
-    public AccessPoint(int x, int y, double scale, double distance, Terrain terrain) {
-        super(images, x, y, scale, distance, SimulatorPane.Objects.ENTRANCE, terrain, new Rectangle2D.Double(-10, -10, 430, 170), true);
-        this.terrain = terrain;
-    }
-    
-    public String getFacilityName(){
-    	return facilityName;
-    }
-    
-    
-    
-}

+ 0 - 28
src/gui/simulator/ExitPoint.java

@@ -1,28 +0,0 @@
-package gui.simulator;
-
-import gui.simulator.facilities.ImageType;
-
-import java.awt.geom.Rectangle2D;
-import java.io.Serializable;
-
-public class ExitPoint extends DrawEngine implements Serializable {
-	
-	private static ImageType images = ImageType.Exit;
-	private static String facilityName = "Uitgang";
-	private Terrain terrain;
-
-    //TODO change visibility
-    public ExitPoint(Terrain terrain, int x, int y, double scale, double distance) {
-        super(images, x, y, scale, distance, SimulatorPane.Objects.EXIT, terrain, new Rectangle2D.Double(-10, -10, 430, 170), true);
-        this.terrain = terrain;
-    }
-    
-    public ExitPoint(int x, int y, double scale, double distance, Terrain terrain) {
-        super(images, x, y, scale, distance, SimulatorPane.Objects.EXIT, terrain, new Rectangle2D.Double(-10, -10, 430, 170), true);
-        this.terrain = terrain;
-    }
-
-    public String getFacilityName(){
-    	return facilityName;
-    }
-}

+ 2 - 2
src/gui/simulator/facilities/AccessPoint.java

@@ -12,11 +12,11 @@ public class AccessPoint extends DrawEngine implements Serializable {
 	private static ImageType images = ImageType.Entrance;
 	
     public AccessPoint(Terrain terrain, int x, int y) {
-        super(images, x, y, 1, 0, SimulatorPane.Objects.ENTRANCE, terrain, new Rectangle2D.Double(-10, -10, 430, 170), false);
+        super(images, x, y, 1, 0, SimulatorPane.Objects.ENTRANCE, terrain, new Rectangle2D.Double(100, -10, 200, 170), false);
     }
 
     public AccessPoint(Terrain terrain, int x, int y, double scale, double distance) {
-        super(images, x, y, scale, distance, SimulatorPane.Objects.ENTRANCE, terrain, new Rectangle2D.Double(100, -10, 200, 170), false);
+        super(images, x, y, scale, distance, SimulatorPane.Objects.ENTRANCE, terrain, new Rectangle2D.Double(100, -10, 200, 170),  false);
     }
     
     public AccessPoint(int x, int y, double scale, double distance, Terrain terrain) {