Exemplo n.º 1
0
 /// <summary>
 /// Creates a new instance by copying fields of <paramref name="itemType"/> (deep copy).
 /// </summary>
 /// <param name="itemType"></param>
 public ItemType(ItemType itemType)
 {
     if (itemType != null)
     {
         Id = itemType.Id;
         TwoHanded = itemType.TwoHanded;
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// Creates a new instance by copying fields of <paramref name="itemType"/> (deep copy).
 /// </summary>
 /// <param name="itemType"></param>
 public ItemType(ItemType itemType)
 {
     if (itemType != null)
     {
         id = itemType.id;
         twoHanded = itemType.twoHanded;
     }
 }