Example #1
0
 private void SelectPlayer()
 {
     if (Name == "Create New")
     {
         _step           = Stage.CreatingPlayer;
         _creatingPlayer = true;
     }
     else
     {
         _creatingPlayer = false;
         _setup._quadrants.Where(q => q != this && q.Name == Name).ToList().ForEach(q => { q.Name = _setup.PlayerNames.First(n => n != Name); });
         _setup.PlayerNames.Remove(Name);
         _step             = Stage.PickingGear;
         Items             = XmlStorage.GetPlayerInventory(Name);
         _pickingGearStage = PickingGearStage.Boots;
         _selectedItem     = Items.First(i => i.Type == ItemTypes.Boots);
     }
 }