JavaScript is disabled on your browser.
Skip navigation links
Package
Class
Use
Tree
Index
Help
Prev Letter
Next Letter
Frames
No Frames
All Classes
A
B
D
G
M
P
R
S
T
X
Y
D
draw()
- Method in class test.janw.nl.
Ball
Paint the ball on the canvas.
draw()
- Method in class test.janw.nl.
Bat
Draw the bat as a rectangle on the canvas
draw()
- Method in class test.janw.nl.
PlayField
In the draw method check if keys are pressed and react to some keys, Then we paint every object on the canvas.
A
B
D
G
M
P
R
S
T
X
Y
Skip navigation links
Package
Class
Use
Tree
Index
Help
Prev Letter
Next Letter
Frames
No Frames
All Classes