vooga.examples.networking.zombies.weapons
Class Pistol

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

public class Pistol
extends Weapon

The default weapon. Low damage, medium firing delay, and low bullet speed.


Constructor Summary
Pistol(Shooter shooter, int ammo)
           
 
Method Summary
 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

Pistol

public Pistol(Shooter shooter,
              int ammo)
Method Detail

fireBullets

public 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