public PlanetDrawing(Planet planet)
		{
			Planet = planet;
			Label = new MapLabel(planet.Position);
			if (GalaxyMap.Instance.Galaxy.GetOwner(planet) == null) {
				Label.Text = Planet.Name;
			} else {
				Label.Text = Planet.Name + Environment.NewLine + GalaxyMap.Instance.Galaxy.GetOwner(planet).Name +
				             Environment.NewLine + Map.GetHumanName(planet.MapName);
			}
		}
Ejemplo n.º 2
0
 public PlanetDrawing(Planet planet)
 {
     Planet = planet;
     Label  = new MapLabel(planet.Position);
     if (GalaxyMap.Instance.Galaxy.GetOwner(planet) == null)
     {
         Label.Text = Planet.Name;
     }
     else
     {
         Label.Text = Planet.Name + Environment.NewLine + GalaxyMap.Instance.Galaxy.GetOwner(planet).Name +
                      Environment.NewLine + Map.GetHumanName(planet.MapName);
     }
 }