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

S

saveOptions() - Method in class project.pong.controller.MainViewController
Saves the game options to a file.
setBall(Ball) - Method in class project.pong.model.GamePong
Sets the ball object.
setBaseSpeed(double) - Method in class project.pong.model.Ball
Sets the base speed of the ball.
setDirectionX(double) - Method in class project.pong.model.Ball
Sets the direction of movement along the x-axis.
setDirectionY(double) - Method in class project.pong.model.Ball
Sets the direction of movement along the y-axis.
setHeight(double) - Method in class project.pong.model.GamePong
Sets the height of the game screen.
setHeight(double) - Method in class project.pong.model.Racket
Sets the height of the racket.
setIncreaseSpeed(double) - Method in class project.pong.model.Ball
Sets the speed increase factor of the ball.
setMainButton() - Method in class project.pong.view.GameView
Sets the main button for starting or restarting the game.
setName(String) - Method in class project.pong.model.Player
Sets the name of the player.
setOptions(Options) - Method in class project.pong.model.GamePong
Sets the game options.
setPlayer1(Player) - Method in class project.pong.model.GamePong
Sets player 1 object.
setPlayer1Name(String) - Method in class project.pong.model.Options
Sets the name of player 1.
setPlayer1Name(String) - Method in class project.pong.view.layout.TopBar
 
setPlayer2(Player) - Method in class project.pong.model.GamePong
Sets player 2 object.
setPlayer2Name(String) - Method in class project.pong.model.Options
Sets the name of player 2.
setPlayer2Name(String) - Method in class project.pong.view.layout.TopBar
 
setRacket(Racket) - Method in class project.pong.model.Player
Sets the racket associated with the player.
setScore(int) - Method in class project.pong.model.Player
Sets the score of the player.
setSpeed(double) - Method in class project.pong.model.Ball
Sets the speed of the ball.
setSpeed(int) - Method in class project.pong.model.Racket
Sets the speed of the racket.
SETTINGS - Enum constant in enum class project.pong.model.WindowState
 
settingsController - Variable in class project.pong.view.SettingsView
 
SettingsController - Class in project.pong.controller
The SettingsController class controls the settings of the Pong game.
SettingsController(MainViewController) - Constructor for class project.pong.controller.SettingsController
Constructs a SettingsController object with the specified main view controller.
SettingsView - Class in project.pong.view
The SettingsView class represents the view for configuring game settings.
SettingsView(MainView) - Constructor for class project.pong.view.SettingsView
Constructs a SettingsView with the specified MainView.
setUp() - Method in class project.pong.view.CollisionDetectorTest
 
setWidth(double) - Method in class project.pong.model.GamePong
Sets the width of the game screen.
setWidth(double) - Method in class project.pong.model.Racket
Sets the width of the racket.
setWindowState(WindowState) - Method in class project.pong.controller.MainViewController
Sets the window state.
setX(double) - Method in class project.pong.model.Ball
Sets the x-coordinate of the ball.
setX(double) - Method in class project.pong.model.Racket
Sets the x-coordinate of the racket's position.
setY(double) - Method in class project.pong.model.Ball
Sets the y-coordinate of the ball.
setY(double) - Method in class project.pong.model.Racket
Sets the y-coordinate of the racket's position.
Side - Enum Class in project.pong.model
An enumeration representing the sides.
stackPane - Variable in class project.pong.view.GameView
 
start(Stage) - Method in class project.pong.PongApp
The start method initializes the application.
StartButton - Class in project.pong.view.component
The StartButton class represents a button to start the game.
StartButton(MainViewController) - Constructor for class project.pong.view.component.StartButton
Constructs a StartButton with the specified MainViewController to start the game.
StartButton(MainViewController, GameView) - Constructor for class project.pong.view.component.StartButton
Constructs a StartButton with the specified MainViewController and GameView to start the game.
startGame() - Method in class project.pong.controller.GameController
Starts the game.
startGame() - Method in class project.pong.controller.MainViewController
Starts the game view.
startGame(GameView) - Method in class project.pong.controller.MainViewController
Starts the game view with a specified main game view.
startGameOver() - Method in class project.pong.controller.MainViewController
Starts the game over view.
startSettings() - Method in class project.pong.controller.MainViewController
Starts the settings view.
startView() - Method in class project.pong.controller.MainViewController
Starts the initial view.
stop() - Method in class project.pong.model.Ball
Stops the ball movement thread.
switchView(BorderPane) - Method in class project.pong.view.MainView
Switches the current view to the specified view.
switchView(WindowState) - Method in class project.pong.controller.TopBarController
Switches the view based on the provided window state.
B C D E F G H I L M O P R S T U V W 
All Classes and Interfaces|All Packages