Пример #1
0
 /// <summary>
 /// Prototyping constructor.
 /// Initializes a new instance of the <see cref="RPG.ItemSystem.ISArmor"/> class using values of the other instance of that class.
 /// </summary>
 /// <param name="RHS">Instance, used as a prototype.</param>
 public ISArmor(ISArmor RHS)
 {
     base.Clone (RHS);
     Clone (RHS);
 }
Пример #2
0
 /// <summary>
 /// Makes this instance a clone of the specified Prototype.
 /// </summary>
 /// <param name="Prototype">Prototype.</param>
 public void Clone(ISArmor Prototype)
 {
     m_CurrentArmor = Prototype.CurrentArmor;
     m_MaximumArmor = Prototype.MaximumArmor;
     m_CurrentDurability = Prototype.CurrentDurability;
     m_MaximumDurability = Prototype.MaximumDurability;
     m_Prefab = Prototype.Prefab;
 }