Class Boss

java.lang.Object
  |
  +--javax.microedition.lcdui.game.Layer
        |
        +--javax.microedition.lcdui.game.Sprite
              |
              +--Boss

public class Boss
extends javax.microedition.lcdui.game.Sprite

creates a boss which hunts down towards the player

Title: Monkey Madness

Description: Player must run around field, destroying and avoiding bombs, droids and boss!

Copyright: Copyright (c) 2005

Company: Pistachio Monkey


Nested Class Summary
 class Boss.TimerInv
          class terminates the invincibilty after a period
 
Field Summary
 
Fields inherited from class javax.microedition.lcdui.game.Sprite
TRANS_MIRROR, TRANS_MIRROR_ROT180, TRANS_MIRROR_ROT270, TRANS_MIRROR_ROT90, TRANS_NONE, TRANS_ROT180, TRANS_ROT270, TRANS_ROT90
 
Method Summary
 void beat()
          controls the behaviours of the boss
 void death()
          allows for the gradual death of the boss while invoking an invincible timer
 void invTimer()
          scheduales a invincible timer
 
Methods inherited from class javax.microedition.lcdui.game.Sprite
collidesWith, collidesWith, collidesWith, defineCollisionRectangle, defineReferencePixel, getFrame, getFrameSequenceLength, getRawFrameCount, getRefPixelX, getRefPixelY, nextFrame, paint, prevFrame, setFrame, setFrameSequence, setImage, setRefPixelPosition, setTransform
 
Methods inherited from class javax.microedition.lcdui.game.Layer
getHeight, getWidth, getX, getY, isVisible, move, setPosition, setVisible
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

death

public void death()
allows for the gradual death of the boss while invoking an invincible timer


invTimer

public void invTimer()
scheduales a invincible timer


beat

public void beat()
controls the behaviours of the boss