com.planeth.gtroids.obj.bonus
Class BonusShot

java.lang.Object
  extended bycom.planeth.gtroids.obj.base.PaintableObject
      extended bycom.planeth.gtroids.obj.base.AbstractGameObject
          extended bycom.planeth.gtroids.obj.base.AbstractPhysicalObject
              extended bycom.planeth.gtroids.obj.base.AbstractAnimatedObject
                  extended bycom.planeth.gtroids.obj.base.AbstractTumblingObject
                      extended bycom.planeth.gtroids.obj.bonus.AbstractBonusItem
                          extended bycom.planeth.gtroids.obj.bonus.BonusShot
All Implemented Interfaces:
ITimeControllable

public class BonusShot
extends AbstractBonusItem

MultiShot Bonus

Author:
Andreas Grässer, gal@planet-h.com.
created 30.10.2005

Constructor Summary
BonusShot()
          Constructor for BonusCure.
 
Method Summary
protected  void applyBonus(Ship ship)
          Applies the Bonus to the passed ship
 
Methods inherited from class com.planeth.gtroids.obj.bonus.AbstractBonusItem
applyDamage, createBonusShape, die, getTransform, hitWith
 
Methods inherited from class com.planeth.gtroids.obj.base.AbstractTumblingObject
move, update
 
Methods inherited from class com.planeth.gtroids.obj.base.AbstractAnimatedObject
checkBorderJump, getCircumferentialVel, getLastPos, getRealTimeControl, getRotationVelDeg, getVel, isSpeedDependent, paint, pause, setBorderJumper, setCircumferentialVel, setRotationVelDeg, setSpeedDependent, setVel, update
 
Methods inherited from class com.planeth.gtroids.obj.base.AbstractPhysicalObject
getCenterOfMass, getElast, getExplodeSound, getGamePanel, getGravit, getObjectFactory, getQuadrantCoords, getVolume, hitWithBomb, isAffectingGame, setAffectingGame, setGamePanel, setGravit, setLifeTime, setQuadrantCoords, split
 
Methods inherited from class com.planeth.gtroids.obj.base.AbstractGameObject
cure, getAudioResource, getColorBackup, getStats, getTimerManager, initStats, isEnemy, isReadyToDie, kill, setColorBackup, setColorFixed, setReadyToDie
 
Methods inherited from class com.planeth.gtroids.obj.base.PaintableObject
addShape, explodeBaseShape, getAvgDiameter, getAvgVector, getBaseColor, getBaseVertexes, getBounds, getMaxRadius, getNrOfVertexes, getOrientation, getPos, paintAtPos, randomizeBaseShape, rotate, setBaseColor, splitBaseShape
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BonusShot

public BonusShot()
Constructor for BonusCure.

Method Detail

applyBonus

protected void applyBonus(Ship ship)
Description copied from class: AbstractBonusItem
Applies the Bonus to the passed ship

Overrides:
applyBonus in class AbstractBonusItem
Parameters:
ship - to apply the bonus
See Also:
AbstractBonusItem.applyBonus(com.planeth.gtroids.obj.Ship)