public StellarHistoryEvent(StellarHistoryEvent s) { this.eventInit = s.eventInit; this.yearDate = s.yearDate; this.eventText = s.eventText; }
protected static Color getColor(StellarHistoryEvent s) { switch (s.getInit()) { case StellarEventInvoker.Nebula: return Color.DeepSkyBlue; case StellarEventInvoker.Other: return Color.YellowGreen; case StellarEventInvoker.Planet: return Color.Green; case StellarEventInvoker.Satelite: return Color.Teal; case StellarEventInvoker.Star: return Color.Blue; case StellarEventInvoker.StellarCollapse: return Color.DarkBlue; case StellarEventInvoker.StellarDeath: return Color.Violet; case StellarEventInvoker.StellarGiantPhase: return Color.Red; case StellarEventInvoker.System: return Color.DarkOliveGreen; case StellarEventInvoker.None: default: return Color.Black; } }