예제 #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;
 }