Index

B C D E F G H I L M O P R S T U V W 
All Classes and Interfaces|All Packages

C

changeDirectionX() - Method in class project.pong.model.Ball
Reverses the direction of movement along the x-axis.
changeDirectionY() - Method in class project.pong.model.Ball
Reverses the direction of movement along the y-axis.
checkCollision() - Method in class project.pong.controller.GameController
Checks collision between game elements.
checkGoal() - Method in class project.pong.controller.GameController
Checks if a goal has been scored.
checkScore() - Method in class project.pong.controller.GameController
Checks if either player has reached the winning score and ends the game if so.
clearLabel() - Method in class project.pong.view.GameView
Clears the displayed score on the game view.
CollisionDetector - Class in project.pong.model
The CollisionDetector class detects collisions between the ball and rackets in the Pong game.
CollisionDetector(GamePong) - Constructor for class project.pong.model.CollisionDetector
Constructs a CollisionDetector object with the specified GamePong instance.
CollisionDetectorTest - Class in project.pong.view
The CollisionDetectorTest class tests the functionality of the CollisionDetector class.
CollisionDetectorTest() - Constructor for class project.pong.view.CollisionDetectorTest
 
controller - Variable in class project.pong.view.layout.TopBar
 
B C D E F G H I L M O P R S T U V W 
All Classes and Interfaces|All Packages