public void add() { WeaponData weapon = new WeaponData(weapons.Count); weapons.Add(weapon); }
// Methods public void add(WeaponData weapon) { weapons.Add(weapon); }