|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgizmoball.gameworld.gameobjects.Gun
gizmoball.gameworld.gameobjects.BeamGun
public class BeamGun
A Gun that shoots BeamBalls
Field Summary |
---|
Fields inherited from class gizmoball.gameworld.gameobjects.Gun |
---|
ws |
Constructor Summary | |
---|---|
BeamGun(GameWorldState ws,
double timeBetweenShots)
|
Method Summary | |
---|---|
protected void |
doShoot(Vect3 position,
Vect3 direction)
The method that has to be overridden, that actually shoots out the shot. |
Methods inherited from class gizmoball.gameworld.gameobjects.Gun |
---|
getRateOfFire, setRateOfFire, shoot, update |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BeamGun(GameWorldState ws, double timeBetweenShots)
Method Detail |
---|
protected void doShoot(Vect3 position, Vect3 direction)
Gun
doShoot
in class Gun
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |