public GridSpaceHolder createGSHForSchematic(BuildingSchematic scheme) { switch (this.buildingType) { case DemonBuilding.BUILDING_HOUSE: return scheme.createGSH(); case DemonBuilding.BUILDING_PORTAL: } return scheme.createGSH(); }
public DemonBuilding(BuildingSchematic schematic) { this.schematic = schematic; this.buildingType = schematic.buildingType; this.buildingTier = schematic.buildingTier; this.area = this.createGSHForSchematic(schematic); this.doorGridSpace = schematic.getGridSpotOfDoor(); }
public void destroyAllInField( World world, int xCoord, int yCoord, int zCoord, ForgeDirection dir) { schematic.destroyAllInField(world, xCoord, yCoord, zCoord, dir); }
public void buildAll(World world, int xCoord, int yCoord, int zCoord, ForgeDirection dir) { schematic.buildAll(world, xCoord, yCoord, zCoord, dir); }