vooga.examples.networking.zombies.weapons
Class AssaultRifle

java.lang.Object
  extended by vooga.examples.networking.zombies.weapons.Weapon
      extended by vooga.examples.networking.zombies.weapons.AssaultRifle

public class AssaultRifle
extends Weapon

Same as a Pistol, with a lower firing delay, higher damage, and faster bullets


Constructor Summary
AssaultRifle(Shooter shooter, int ammo)
           
 
Method Summary
protected  void fireBullets()
          Specifies how and how many bullets are created every time the weapon fires.
 
Methods inherited from class vooga.examples.networking.zombies.weapons.Weapon
addAmmo, fire, getAmmo, getDamage, getOrientation, makeBullet, setBulletSpeed, setDamage, setFiringDelay
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssaultRifle

public AssaultRifle(Shooter shooter,
                    int ammo)
Method Detail

fireBullets

protected void fireBullets()
Description copied from class: Weapon
Specifies how and how many bullets are created every time the weapon fires. To be overwritten in subclasses

Specified by:
fireBullets in class Weapon