private void CloneProperties(object aClone) { Articy.Asylumjame.Features.DefaultExtendedCharacterFeatureFeature newClone = ((Articy.Asylumjame.Features.DefaultExtendedCharacterFeatureFeature)(aClone)); newClone.Motivation = Motivation; newClone.InnerConflict = InnerConflict; newClone.Skills = Skills; newClone.Fears = Fears; newClone.Habits = Habits; newClone.FurtherDetails = FurtherDetails; }
public object CloneObject() { Articy.Asylumjame.Features.DefaultExtendedCharacterFeatureFeature clone = new Articy.Asylumjame.Features.DefaultExtendedCharacterFeatureFeature(); CloneProperties(clone); return(clone); }