public Mill(Tile tile) throws UnBuildableException { super(tile, "Mill", SpriteStore.get().getSprite("mühle1.png"), 2); panel.setBoundsWorkersPanel(100, 20, 100, 20); sprite = SpriteStore.get().getSprite("mühle1.png"); sprites = new Sprite[5]; for (int i = 0; i < 5; i++) { sprites[i] = SpriteStore.get().getSprite("mühle" + i + ".png"); } farms = new ArrayList(maxFarms); radius = 200; inStock = new Stock(new Point(tile.getXPos() + 22, tile.getYPos() + 40), 4); outStock = new Stock(new Point(tile.getXPos() + 28, tile.getYPos() + 40), 4); }
public Mill() { sprite = SpriteStore.get().getSprite("mühle0.png"); radius = 200; }