breakout
Class Drop

java.lang.Object
  extended by breakout.GameObject
      extended by breakout.MovableGameObject
          extended by breakout.Ball
              extended by breakout.Drop
Direct Known Subclasses:
DecPaddleDrop, ExtraBallDrop, IncPaddleDrop

public class Drop
extends Ball


Constructor Summary
Drop()
           
Drop(int x, int y)
           
 
Method Summary
 void check(Brett brett)
           
 int getScore()
           
 void hit(Brett brett)
           
 void move()
           
 void paintTo(java.awt.Graphics2D g)
           
 void setScore(int score)
           
 
Methods inherited from class breakout.Ball
advanceGlueTime, changeV, getGlueTimer, noZeroVX, setGlueTimer
 
Methods inherited from class breakout.MovableGameObject
getVx, getVy, reflectV, setV, setVx, setVy, stop
 
Methods inherited from class breakout.GameObject
addSize, getHeight, getWidth, getX, getY, hits, isAboveOf, isBelowOf, isLeftOf, isRightOf, setHeight, setPos, setWidth, setX, setY
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Drop

public Drop(int x,
            int y)

Drop

public Drop()
Method Detail

paintTo

public void paintTo(java.awt.Graphics2D g)
Overrides:
paintTo in class Ball

check

public void check(Brett brett)
Overrides:
check in class Ball

getScore

public int getScore()

setScore

public void setScore(int score)

hit

public void hit(Brett brett)

move

public void move()
Overrides:
move in class MovableGameObject