public static ProgressionStar ConvertStarOnly(ProgressionMap map, Star oldStar) { ProgressionStar newStar = new ProgressionStar(oldStar.Name); newStar.Properties = oldStar.Properties; map.Add(newStar); return(newStar); }
public static ProgressionPlanet ConvertPlanetOnly(ProgressionMap map, Planet oldPlanet) { ProgressionPlanet newPlanet = new ProgressionPlanet(oldPlanet.Name); newPlanet.Properties = oldPlanet.Properties; map.Add(newPlanet); return(newPlanet); }
public static Comet ConvertComet(ProgressionMap map, Comet oldComet) { Comet newComet = new Comet(oldComet.Name); newComet.Properties = oldComet.Properties; map.Add(newComet); return(newComet); }
public static Asteroid ConvertAsteroid(ProgressionMap map, Asteroid oldAsteroid) { Asteroid newAsteroid = new Asteroid(oldAsteroid.Name); newAsteroid.Properties = oldAsteroid.Properties; map.Add(newAsteroid); return(newAsteroid); }
public static Satellite ConvertSatellite(ProgressionMap map, Satellite oldSatellite) { Satellite newSatellite = new Satellite(oldSatellite.Name); newSatellite.Properties = oldSatellite.Properties; map.Add(newSatellite); return(newSatellite); }
public static Asteroid ConvertDwarfPlanetasAsteroid(ProgressionMap map, DwarfPlanet oldDwarfPlanet) { Asteroid newAsteroid = new Asteroid(oldDwarfPlanet.Name); newAsteroid.Properties = oldDwarfPlanet.Properties; map.Add(newAsteroid); return(newAsteroid); }