/// <summary> /// Initializes a new instance of the <see cref="Race" /> class for testing. /// </summary> /// <param name="species">Species of the race.</param> /// <param name="color">Color.</param> public Race(Species species, GameColor color) { Species = species; LeaderName = species.GetDefaultLeaderName(); ImageFilename = species.GetImageFilename(); Description = species.GetEnumAttributeText(); Color = color; }