|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbreakout.GameObject
breakout.MovableGameObject
breakout.Ball
breakout.Drop
public class Drop
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 |
---|
public Drop(int x, int y)
public Drop()
Method Detail |
---|
public void paintTo(java.awt.Graphics2D g)
paintTo
in class Ball
public void check(Brett brett)
check
in class Ball
public int getScore()
public void setScore(int score)
public void hit(Brett brett)
public void move()
move
in class MovableGameObject
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |