Exemple #1
0
 public void CopyFromInternal(PF2Monster m, bool newc)
 {
     BaseMonsterCopy(m);
     _type = m.Type;
     if (newc)
     {
         _traits  = m.Traits.CloneContents();
         _actions = m.Actions.CloneContents();
     }
     else
     {
         Traits.ReplaceContents(m.Traits);
         Actions.ReplaceContents(m.Actions);
     }
 }
Exemple #2
0
 public void CopyFrom(PF2Monster m)
 {
     CopyFromInternal(m, false);
 }
Exemple #3
0
 public PF2Monster(PF2Monster m)
 {
     CopyFromInternal(m, true);
 }