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