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