|
|
@@ -1,23 +1,22 @@
|
|
|
package gui.simulator.facilities;
|
|
|
|
|
|
+import java.awt.geom.Rectangle2D;
|
|
|
import java.io.Serializable;
|
|
|
-
|
|
|
import gui.simulator.DrawEngine;
|
|
|
-import gui.simulator.Images;
|
|
|
import gui.simulator.SimulatorPane;
|
|
|
import gui.simulator.Terrain;
|
|
|
|
|
|
public class Stage extends DrawEngine implements Serializable{
|
|
|
|
|
|
- private static Images.ImageType images = Images.ImageType.Tent;
|
|
|
+ private static ImageType images = ImageType.Tent;
|
|
|
private static String facilityName = "Stage";
|
|
|
|
|
|
public Stage(int x, int y, Terrain terrain) {
|
|
|
- super(images, x, y, 1, 0,SimulatorPane.Objects.STAGE, terrain);
|
|
|
+ super(images, x, y, 1, 0,SimulatorPane.Objects.STAGE, terrain, new Rectangle2D.Double(20, 250, 350, 200), false);
|
|
|
}
|
|
|
|
|
|
public Stage(int x, int y, double scale, double distance, Terrain terrain) {
|
|
|
- super(images, x, y, scale, distance,SimulatorPane.Objects.STAGE, terrain);
|
|
|
+ super(images, x, y, scale, distance,SimulatorPane.Objects.STAGE, terrain, new Rectangle2D.Double(20, 250, 350, 200), false);
|
|
|
}
|
|
|
|
|
|
public String getFacilityName(){
|