Ejemplo n.º 1
0
    public void destroyBuilding(BUILDINGS buildingId)
    {
        BuildingsManager buildingsMan = BuildingsManager.GetInstance();
        Building         building     = buildingsMan.getBuilding(buildingId);

        buildingsMan.destroy(buildingId);

        WorldTerrain worldTerrain = WorldTerrain.GetInstance();

        worldTerrain.destroyBuilding(building.getRow(), building.getCol(), building.getVerticalTiles(), building.getHorizontalTiles());
    }