Skip navigation links
A B D G M P R S T X Y 

B

Ball - Class in test.janw.nl
This class was written as a part of creating a squash program for the Open.HPI.de course "Java Capstone series 1."
Ball(PlayField, float, float, float, double, int) - Constructor for class test.janw.nl.Ball
constructor The constructor takes the canvas as input, so it knows where it lives (and can ask the size of its canvas (eg. ceiling and borders) Furthermore it gets its starting position (start_x, start_y) and its starting speed and starting angle).
ball - Variable in class test.janw.nl.PlayField
 
Bat - Class in test.janw.nl
This class was written as a part of creating a squash program for the Open.HPI.de course "Java Capstone series 1."
Bat(PlayField) - Constructor for class test.janw.nl.Bat
Constructor The constructor takes the canvas as input, so it knows where it lives and can ask the size of its canvas (borders)
bat - Variable in class test.janw.nl.PlayField
 
batHeight - Variable in class test.janw.nl.Bat
 
batLength - Variable in class test.janw.nl.Bat
 
bounceHorizontal() - Method in class test.janw.nl.Ball
Bounce on a horizontal boundary (eg. ceiling or bat/paddle)
bounceVertical() - Method in class test.janw.nl.Ball
Bounce on a vertical boundary (eg. one of the walls)
A B D G M P R S T X Y 
Skip navigation links