public void AddPilot(Build build) { ClearState(); pilotsRadioButton.IsChecked = true; isAddingPilot = true; this.build = build; pilots = Pilots.GetPilots(build); pilotsToDisplay = pilots.ToList(); }
public void SwapPilot(Build build, UniquePilot pilotToSwap) { ClearState(); this.pilotToSwap = pilotToSwap; pilotsRadioButton.IsChecked = true; isSwappingPilot = true; this.build = build; pilots = Pilots.GetPilots(build, pilotToSwap); pilotsToDisplay = pilots.ToList(); }