Exemplo n.º 1
0
 public Rifle(
     float fireRate  = 0.1f,
     float damage    = 15,
     float nextFire  = 0.0f,
     float speed     = 100f,
     int clipSize    = 20,
     int ammo        = 20,
     int spreadCount = 1) :
     base(fireRate, damage, nextFire, speed, clipSize, ammo, spreadCount)
 {
     ShootingType = new LinearShot(this);
 }
Exemplo n.º 2
0
 public Handgun(
     float fireRate  = 0.75f,
     float damage    = 60,
     float nextFire  = 0.0f,
     float speed     = 100f,
     int clipSize    = 6,
     int ammo        = 6,
     int spreadCount = 1) :
     base(fireRate, damage, nextFire, speed, clipSize, ammo, spreadCount)
 {
     ShootingType = new LinearShot(this);
 }