Пример #1
0
 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;
 }
Пример #2
0
 public object CloneObject()
 {
     Articy.Asylumjame.Features.DefaultExtendedCharacterFeatureFeature clone = new Articy.Asylumjame.Features.DefaultExtendedCharacterFeatureFeature();
     CloneProperties(clone);
     return(clone);
 }