public override IWeapon GetAWeapon() { _223_projectile = new Projectile("Bullet", 55, ".223"); _223_ammo = new Ammo(".223", _223_projectile); _mag_with_223_ammo = new Mag(_mag_capacity, _223_ammo); _ar15 = new Ar15("Rifle", _mag_with_223_ammo); return(_ar15); }
public override IWeapon GetAWeapon() { _nine_mm_projectile = new Projectile("Bullet", 115, "9MM"); _nine_mm_ammo = new Ammo("9MM", _nine_mm_projectile); _mag_with_nine_mm_ammo = new Mag(_mag_capacity, _nine_mm_ammo); _glock = new Glock("Pistol", _mag_with_nine_mm_ammo); return(_glock); }
public override IWeapon GetAWeapon() { _12_gauge_shots = new Projectile("Shots", 3, "8.4"); _12_gauge_shells = new Ammo("12 Gauge", _12_gauge_shots); _mag_with_12_gauge_ammo = new Mag(_mag_capacity, _12_gauge_shells); _shotgun = new Shotgun("Shotgun", _mag_with_12_gauge_ammo); return(_shotgun); }
public Ar15(string Type, Mag Magazine) { this.Type = Type; this.Magazine = Magazine; }
public Shotgun(string Type, Mag Magazine) { this.Type = Type; this.Magazine = Magazine; }
public Glock(string Type, Mag Magazine) { this.Type = Type; this.Magazine = Magazine; }