|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmadkit.demos.gpong.PongBall
public class PongBall
| Constructor Summary | |
|---|---|
PongBall(GPongGUI disp,
int xp,
int yp)
|
|
| Method Summary | |
|---|---|
void |
display(java.awt.Graphics g)
|
int |
getXSpeed()
|
int |
getYPos()
|
void |
isBallOut()
|
void |
move()
|
void |
testForCollisionComputer(madkit.demos.gpong.ComputerPlayer computer)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PongBall(GPongGUI disp,
int xp,
int yp)
| Method Detail |
|---|
public int getXSpeed()
public int getYPos()
public void move()
public void isBallOut()
public void testForCollisionComputer(madkit.demos.gpong.ComputerPlayer computer)
public void display(java.awt.Graphics g)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||