Пример #1
0
 /// <summary>Replaces this instance of Equipment with another instance.</summary>
 /// <param name="other">Instance of Equipment to replace this instance</param>
 public Equipment(Equipment other) : this(new Item(other.Weapon), new Item(other.Head),
                                          new Item(other.Body), new Item(other.Hands), new Item(other.Legs), new Item(other.Feet),
                                          new Item(other.LeftRing), new Item(other.RightRing))
 {
 }
Пример #2
0
 public bool Equals(Equipment otherEquipment) => Equals(this, otherEquipment);