Index
All Classes and Interfaces|All Packages
G
- GAME - Enum constant in enum class project.pong.model.WindowState
- gameController - Variable in class project.pong.view.GameView
- GameController - Class in project.pong.controller
-
The GameController class controls the game logic for the Pong game.
- GameController(MainViewController, GameView) - Constructor for class project.pong.controller.GameController
-
Constructs a GameController object with the specified parameters.
- GAMEOVER - Enum constant in enum class project.pong.model.WindowState
- GameOverView - Class in project.pong.view
-
The GameOverView class represents the view displayed when the game is over.
- GameOverView(MainView) - Constructor for class project.pong.view.GameOverView
-
Constructs a GameOverView with the specified MainView.
- GamePong - Class in project.pong.model
-
The GamePong class represents the game state and logic of the Pong game.
- GamePong(int, int) - Constructor for class project.pong.model.GamePong
-
Constructs a GamePong object with the specified screen dimensions.
- gameview - Variable in class project.pong.controller.MainViewController
- GameView - Class in project.pong.view
-
The GameView class represents the main view of the Pong game.
- GameView(MainView) - Constructor for class project.pong.view.GameView
-
Constructs a GameView with the specified MainView.
- getBall() - Method in class project.pong.controller.GameController
-
Gets the ball object.
- getBall() - Method in class project.pong.model.GamePong
-
Gets the ball object.
- getBallIncreaseSpeed() - Method in class project.pong.model.Options
-
Gets the speed increase factor for the ball.
- getBallPosition() - Method in class project.pong.view.component.BallView
-
Gets the current position of the ball.
- getBallSpeed() - Method in class project.pong.model.Options
-
Gets the initial speed of the ball.
- getBallView() - Method in class project.pong.view.component.BallView
-
Gets the graphical representation of the ball.
- getBaseSpeed() - Method in class project.pong.model.Ball
-
Gets the base speed of the ball.
- getColor() - Method in class project.pong.model.Racket
-
Gets the color of the racket.
- getDirectionX() - Method in class project.pong.model.Ball
-
Gets the direction of movement along the x-axis.
- getDirectionY() - Method in class project.pong.model.Ball
-
Gets the direction of movement along the y-axis.
- getGameStarted() - Method in class project.pong.controller.GameController
-
Gets the game started status.
- getHeight() - Method in class project.pong.model.GamePong
-
Gets the height of the game screen.
- getHeight() - Method in class project.pong.model.Racket
-
Gets the height of the racket.
- getIncreaseSpeed() - Method in class project.pong.model.Ball
-
Gets the speed increase factor of the ball.
- getMainViewController() - Method in class project.pong.view.MainView
-
Gets the MainViewController associated with this MainView.
- getName() - Method in class project.pong.model.Player
-
Gets the name of the player.
- getOptions() - Method in class project.pong.model.GamePong
-
Gets the game options.
- getPlayer1() - Method in class project.pong.model.GamePong
-
Gets player 1 object.
- getPlayer1Name() - Method in class project.pong.model.Options
-
Gets the name of player 1.
- getPlayer1Name() - Method in class project.pong.view.layout.TopBar
- getPlayer1Racket() - Method in class project.pong.controller.GameController
-
Gets the racket of player 1.
- getPlayer2() - Method in class project.pong.model.GamePong
-
Gets player 2 object.
- getPlayer2Name() - Method in class project.pong.model.Options
-
Gets the name of player 2.
- getPlayer2Name() - Method in class project.pong.view.layout.TopBar
- getPlayer2Racket() - Method in class project.pong.controller.GameController
-
Gets the racket of player 2.
- getPong() - Method in class project.pong.controller.GameController
-
Gets the GamePong object.
- getPong() - Method in class project.pong.controller.MainViewController
-
Gets the GamePong object.
- getRacket() - Method in class project.pong.model.Player
-
Gets the racket associated with the player.
- getRacketHeight() - Method in class project.pong.model.Options
-
Gets the height of the rackets.
- getRacketWidth() - Method in class project.pong.model.Options
-
Gets the width of the rackets.
- getScore() - Method in class project.pong.model.Player
-
Gets the score of the player.
- getScoreToWin() - Method in class project.pong.model.GamePong
-
Gets the score required to win the game.
- getScoreToWin() - Method in class project.pong.model.Options
-
Gets the score required to win the game.
- getSpeed() - Method in class project.pong.model.Ball
-
Gets the speed of the ball.
- getSpeed() - Method in class project.pong.model.Racket
-
Gets the speed of the racket.
- getTopBar() - Method in class project.pong.view.MainView
-
Gets the TopBar associated with this MainView.
- getWidth() - Method in class project.pong.model.Ball
-
Gets the width of the ball.
- getWidth() - Method in class project.pong.model.GamePong
-
Gets the width of the game screen.
- getWidth() - Method in class project.pong.model.Racket
-
Gets the width of the racket.
- getWindowState() - Method in class project.pong.controller.MainViewController
-
Gets the current window state.
- getWinner() - Method in class project.pong.model.GamePong
-
Gets the winner of the game.
- getX() - Method in class project.pong.model.Ball
-
Gets the x-coordinate of the ball.
- getX() - Method in class project.pong.model.Racket
-
Gets the x-coordinate of the racket's position.
- getY() - Method in class project.pong.model.Ball
-
Gets the y-coordinate of the ball.
- getY() - Method in class project.pong.model.Racket
-
Gets the y-coordinate of the racket's position.
All Classes and Interfaces|All Packages