gizmoball.gameworld.gameobjects
Class HomingMissileLauncher

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

public class HomingMissileLauncher
extends Gun

A Gun that shoots BeamBalls


Field Summary
 
Fields inherited from class gizmoball.gameworld.gameobjects.Gun
ws
 
Constructor Summary
HomingMissileLauncher(GameWorldState ws, double timeBetweenShots)
           
HomingMissileLauncher(GameWorldState ws, double timeBetweenShots, java.lang.Class<? extends Gizmo> homeTo, boolean killGood)
           
 
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

HomingMissileLauncher

public HomingMissileLauncher(GameWorldState ws,
                             double timeBetweenShots,
                             java.lang.Class<? extends Gizmo> homeTo,
                             boolean killGood)

HomingMissileLauncher

public HomingMissileLauncher(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