public Station GetEmptyStation(StationOnBuilding building)
        {
            Texture2D texture = Content.Load<Texture2D>("Stations/SpaceStation");

            Station temp = new Station(texture, building.Position, new Vector2(Scales.None), 500);
            temp.Owner = "Enemy";//Player.Name;
            temp.PositionFromCenter = building.PositionFromCenter;
            temp.Name = "Empty Station";

            return temp;
        }
        public StationOnBuilding GetStationOnBuilding(StationBuilder builder)
        {
            Texture2D first = Content.Load<Texture2D>("Stations/StationOnBuildingStage1");
            Texture2D second = Content.Load<Texture2D>("Stations/StationOnBuildingStage2");
            Texture2D third = Content.Load<Texture2D>("Stations/StationOnBuildingStage3");
            Texture2D fourth = Content.Load<Texture2D>("Stations/StationOnBuildingStage4");

            Texture2D progressTexture = Content.Load<Texture2D>("UI/Lines/YellowLine");
            Vector2 progressPosition = new Vector2(builder.Position.X, builder.Position.Y - progressTexture.Height - 5);

            ProgressBar progress = new ProgressBar(progressTexture, progressPosition, new Vector2(Scales.None));

            StationOnBuilding temp = new StationOnBuilding(first, second, third, fourth, builder.Position, new Vector2(Scales.None), progress, 100);
            temp.Owner = "Enemy";//Player.Name;
            temp.Name = "Station On Build";
            temp.PositionFromCenter = builder.PositionFromCenter;

            return temp;
        }
 //---------------------------------------------------------------
 //STATION ON BUILDING COMPLETE
 //---------------------------------------------------------------
 private void StationOnBuildingComplete(StationOnBuilding sender)
 {
     try
     {
         StarOnMap SOM = FindStarOnMapWithThisObject(sender);
         if (SOM != null)
         {
             SolarSystem ss = SOM.SS;
             Station temp = StationCreator.GetEmptyStation(sender);
             temp.OnDestroy += new OnDestroyHandler(OnDestroy);
             ss.Objects.Add(temp);
             ss.Objects.Remove(sender);
         }
         else
         {
             throw new StarOnMapNotFoundException();
         }
     }
     catch
     {
         try
         {
             BlackHoleOnMap BHOM = FindBlackHoleOnMapWithThisObject(sender);
             if (BHOM != null)
             {
                 BlackHoleSystem bhs = BHOM.System;
                 Station temp = StationCreator.GetEmptyStation(sender);
                 temp.OnDestroy += new OnDestroyHandler(OnDestroy);
                 bhs.Objects.Add(temp);
                 bhs.Objects.Remove(sender);
             }
             else
             {
                 throw new BlackHoleOnMapNotFoundException();
             }
         }
         catch
         {
             return;
         }
     }
 }