|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectclient.Shape
client.Ball
public class Ball
Trida reprezentujici micek ve hre Ping-pong.
Field Summary |
---|
Fields inherited from class client.Shape |
---|
position, shape, size |
Constructor Summary | |
---|---|
Ball(java.awt.Dimension gamePanelSize)
Konstruktor tridy Ball. |
Method Summary | |
---|---|
void |
setPosition(java.awt.Point point)
Nastaveni pozice micku. |
Methods inherited from class client.Shape |
---|
fill, getInfo, getPosition, getSize |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Ball(java.awt.Dimension gamePanelSize)
gamePanelSize
- - rozmery hraciho plochyMethod Detail |
---|
public void setPosition(java.awt.Point point)
setPosition
in class Shape
point
- - nova pozice micku
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |