public Synthesis(SynthesisEnum mat) { name = mat.ToString(); materials = new List<Material>(); switch (mat) { case SynthesisEnum.FSDInjection1: materials.Add(new Material(MaterialEnum.Germanium)); materials.Add(new Material(MaterialEnum.Vanadium, 2)); break; case SynthesisEnum.FSDInjection2: materials.Add(new Material(MaterialEnum.Germanium)); materials.Add(new Material(MaterialEnum.Vanadium)); materials.Add(new Material(MaterialEnum.Cadmium,2)); materials.Add(new Material(MaterialEnum.Niobium)); break; case SynthesisEnum.FSDInjection3: materials.Add(new Material(MaterialEnum.Arsenic)); materials.Add(new Material(MaterialEnum.Niobium, 3)); materials.Add(new Material(MaterialEnum.Polonium)); materials.Add(new Material(MaterialEnum.Yttrium)); break; default: name = "unknown"; break; } }
public Synthesis(SynthesisEnum mat) { name = mat.ToString(); materials = new List <Material>(); switch (mat) { case SynthesisEnum.FSDInjection1: materials.Add(new Material(MaterialEnum.Germanium)); materials.Add(new Material(MaterialEnum.Vanadium, 2)); break; case SynthesisEnum.FSDInjection2: materials.Add(new Material(MaterialEnum.Germanium)); materials.Add(new Material(MaterialEnum.Vanadium)); materials.Add(new Material(MaterialEnum.Cadmium, 2)); materials.Add(new Material(MaterialEnum.Niobium)); break; case SynthesisEnum.FSDInjection3: materials.Add(new Material(MaterialEnum.Arsenic)); materials.Add(new Material(MaterialEnum.Niobium, 3)); materials.Add(new Material(MaterialEnum.Polonium)); materials.Add(new Material(MaterialEnum.Yttrium)); break; default: name = "unknown"; break; } }