gizmoball.gameworld.gameobjects
Class BeamGun

java.lang.Object
  extended by gizmoball.gameworld.gameobjects.Gun
      extended by gizmoball.gameworld.gameobjects.BeamGun

public class BeamGun
extends Gun

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

BeamGun

public BeamGun(GameWorldState ws,
               double timeBetweenShots)
Method Detail

doShoot

protected void doShoot(Vect3 position,
                       Vect3 direction)
Description copied from class: Gun
The method that has to be overridden, that actually shoots out the shot.

Specified by:
doShoot in class Gun