|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvooga.examples.networking.zombies.weapons.Weapon
vooga.examples.networking.zombies.weapons.Pistol
public class Pistol
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 |
---|
public Pistol(Shooter shooter, int ammo)
Method Detail |
---|
public void fireBullets()
Weapon
fireBullets
in class Weapon
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |