public void ConfirmedRetrain() { if (cachedClass == AdventurerClass.Warrior) { associatedAdventurer.Reclass(AdventurerClass.Mystic); } else { associatedAdventurer.Reclass(AdventurerClass.Warrior); } shell.Close(); }