示例#1
0
    public WeaponInformations Clone()
    {
        WeaponInformations clone = new WeaponInformations();

        foreach (WeaponInformation wi in weapons)
        {
            clone.weapons.Add(wi.Clone());
        }
        return(clone);
    }
示例#2
0
 public PlayerInstance(int number, PlayerInformation information, WeaponInformations weapons)
 {
     this.number             = number;
     this.information        = information;
     this.weaponInformations = weapons;
 }