|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.planeth.gtroids.obj.base.PaintableObject
com.planeth.gtroids.obj.base.AbstractGameObject
com.planeth.gtroids.obj.base.AbstractPhysicalObject
com.planeth.gtroids.obj.base.AbstractAnimatedObject
com.planeth.gtroids.obj.base.AbstractTumblingObject
com.planeth.gtroids.obj.Boss
Enemy Boss
| Constructor Summary | |
Boss(int level)
Constructor for Boss. |
|
| Method Summary | |
void |
die()
Initates the dead of the Object without any game relevant changes like updating healthPoints and updating players points |
void |
enableAlarm()
Enables the boss' alarm |
protected java.lang.String |
getExplodeSound()
Returns the explodeSound for this object |
Ship |
getShipInTractorBeam()
Returns player ship if it's in the tractorBeam |
void |
pause(boolean pauseState)
Pauses/unpauses the object or components of the object, which have to be paused. |
void |
setReadyToDie()
Sets the object ready to get deleted |
void |
shoot()
Fires a shot |
protected void |
update(double timeFactor,
double speedFactor)
Does one time and speed dependent update step for the Object |
| Methods inherited from class com.planeth.gtroids.obj.base.AbstractTumblingObject |
move |
| Methods inherited from class com.planeth.gtroids.obj.base.AbstractAnimatedObject |
checkBorderJump, getCircumferentialVel, getLastPos, getRealTimeControl, getRotationVelDeg, getVel, isSpeedDependent, paint, setBorderJumper, setCircumferentialVel, setRotationVelDeg, setSpeedDependent, setVel, update |
| Methods inherited from class com.planeth.gtroids.obj.base.AbstractPhysicalObject |
getCenterOfMass, getElast, getGamePanel, getGravit, getObjectFactory, getQuadrantCoords, getVolume, hitWith, 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 |
| 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 |
public Boss(int level)
level - the level for the boss| Method Detail |
protected void update(double timeFactor,
double speedFactor)
AbstractAnimatedObject
update in class AbstractTumblingObjectAbstractAnimatedObject.update(double, double)public void shoot()
IGun
shoot in interface IGunIGun.shoot()public void die()
AbstractGameObject
die in class AbstractPhysicalObjectAbstractGameObject.die()public void setReadyToDie()
AbstractGameObject
setReadyToDie in class AbstractGameObjectAbstractGameObject.setReadyToDie()public void enableAlarm()
protected java.lang.String getExplodeSound()
AbstractPhysicalObject
getExplodeSound in class AbstractPhysicalObjectAbstractPhysicalObject.getExplodeSound()public void pause(boolean pauseState)
AbstractGameObject
pause in interface ITimeControllablepause in class AbstractAnimatedObjectITimeControllable.pause(boolean)public Ship getShipInTractorBeam()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||