|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectclient.Shape
client.Bat
public class Bat
Trida reprezentujici palky ve hre Ping-pong.
Field Summary |
---|
Fields inherited from class client.Shape |
---|
position, shape, size |
Constructor Summary | |
---|---|
Bat(java.awt.Dimension gamePanelSize,
boolean left)
Konstruktor tridy Bat. |
Method Summary | |
---|---|
void |
setPosition(java.awt.Point point)
Nastaveni pozice palky. |
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 Bat(java.awt.Dimension gamePanelSize, boolean left)
gamePanelSize
- - velikost hraci plochyleft
- - leva/prava strana (leva strana true, prava false)Method Detail |
---|
public void setPosition(java.awt.Point point)
setPosition
in class Shape
point
- - nova pozice palky
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |