Example #1
0
 public ApplySilencer(AutomaticGun gun) : base(gun)
 {
     this.FireOptions = new FireOptions
     {
         Accuracy    = gun.FireOptions.Accuracy,
         Volume      = gun.FireOptions.Volume - 1,
         Convenience = gun.FireOptions.Convenience
     };
 }
Example #2
0
 public ApplyLaserSight(AutomaticGun gun) : base(gun)
 {
     this.FireOptions = new FireOptions
     {
         Accuracy    = gun.FireOptions.Accuracy + 5,
         Volume      = gun.FireOptions.Volume,
         Convenience = gun.FireOptions.Convenience
     };
 }
Example #3
0
 public ApplyButt(AutomaticGun gun) : base(gun)
 {
     this.FireOptions = new FireOptions
     {
         Accuracy    = gun.FireOptions.Accuracy,
         Volume      = gun.FireOptions.Volume,
         Convenience = gun.FireOptions.Convenience + 10
     };
 }
Example #4
0
 public AutomaticGunDecorator(AutomaticGun gun)
 {
     this.gun = gun;
 }