game.weapons
Class SplitProjectile
java.lang.Object
game.physics.Body
game.physics.MovingBody
game.weapons.Projectile
game.weapons.SplitProjectile
- public class SplitProjectile
- extends Projectile
Constructor Summary |
SplitProjectile(java.util.Vector missiles,
double heading,
Body unit,
double damage,
double duration,
double spoof,
boolean phaseShieldPenetrator,
double radius,
double mass,
double maxSpeed,
double acceleration,
double maxAngularVelocity,
double angularAcceleration)
|
Methods inherited from class game.weapons.Projectile |
collide, destruct, getColor, getController, getFirer, getSpoof, integrate, isDead, isPenetrator, setMode, setPenetrator, setTarget, toString, trySpoof |
Methods inherited from class game.physics.MovingBody |
applyForce, getDensityEffect, getMaxAngularVelocity, getMaxSpeed, getVelocity, integrate, predictPosition, predictVelocity, reportMotionStatus, setTargetHeading, setTargetVelocity, setVelocity |
Methods inherited from class game.physics.Body |
findBearing, findHeading, findHeading, getBounds, getHeading, getPlayer, getPlayerID, getPosition, init, init, isColliding, normalize, setHeading, setPosition, setPosition |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SplitProjectile
public SplitProjectile(java.util.Vector missiles,
double heading,
Body unit,
double damage,
double duration,
double spoof,
boolean phaseShieldPenetrator,
double radius,
double mass,
double maxSpeed,
double acceleration,
double maxAngularVelocity,
double angularAcceleration)
getMissiles
public java.util.Vector getMissiles()
timeout
public void timeout(double timestep)
- Overrides:
timeout
in class Projectile
- See Also:
Projectile.timeout(double)
split
public void split(Body target)