game.weapons
Class Bolt

java.lang.Object
  extended bygame.physics.Body
      extended bygame.physics.MovingBody
          extended bygame.weapons.Projectile
              extended bygame.weapons.Bolt

public class Bolt
extends Projectile


Constructor Summary
Bolt(double range, Body unit, double damage, double maxSpeed)
           
Bolt(double range, double heading, Body unit, double damage, double maxSpeed)
           
 
Methods inherited from class game.weapons.Projectile
collide, destruct, getColor, getPlayerID, integrate, isDead, setMode, setTarget
 
Methods inherited from class game.physics.MovingBody
applyForce, getMaxAngularVelocity, getMaxSpeed, getVelocity, integrate, predictPosition, predictVelocity, reportMotionStatus, setTargetHeading, setTargetVelocity, setVelocity
 
Methods inherited from class game.physics.Body
findBearing, findHeading, findHeading, getBounds, getHeading, getPosition, isColliding, normalize, setHeading, setPosition, setPosition
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Bolt

public Bolt(double range,
            Body unit,
            double damage,
            double maxSpeed)

Bolt

public Bolt(double range,
            double heading,
            Body unit,
            double damage,
            double maxSpeed)