Class Droid

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

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

droid is bot that wanders the field in order to get in the play of 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


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()
          handels the droids behaviours
 boolean collides(javax.microedition.lcdui.game.Sprite sprite)
          detects to see weather the the sprite collides with any of the droids
 void death()
          handels the occurance of the death of a droid
 void killtheundead()
          kills all droids
 
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()
handels the occurance of the death of a droid


killtheundead

public void killtheundead()
kills all droids


collides

public boolean collides(javax.microedition.lcdui.game.Sprite sprite)
detects to see weather the the sprite collides with any of the droids

Parameters:
sprite - sprite object
Returns:
boolean

beat

public void beat()
handels the droids behaviours