public ModdableWeapon(FireModeEnum firemode = FireModeEnum.SingleShot) { FireMode = (int)firemode; barrelInventory = new List <Barrel>(); barrelInventory.Add(new Barrel(BarrelEnum.NoBarrel)); sightInventory = new List <Sight>(); sightInventory.Add(new Sight(SightEnum.NoSight)); CurrentBarrelIndex = 0; CurrentSightIndex = 0; }
public AssaultRifle(FireModeEnum firemode = FireModeEnum.SingleShot) : base(firemode) { _damagePoints = Assault_Rifle_Damage_Points; _maxAmmo = 500; ammoRemaining = 1; accuracy = 1; _usingAssaultRifle = true; weaponHasAuxiliaryFire = false; }
public bool SetFireMode(FireModeEnum firemode) { if (FireMode == (int)firemode) { return(false); } else { FireMode = (int)firemode; return(true); } }
public void SetFireMode(FireModeEnum firemode) { FireMode = firemode; }
public FireModdableWeapon(FireModeEnum firemode) { FireMode = firemode; }
public FireModdable(FireModeEnum firemode) { FireMode = firemode; }