java.lang.Object
project.pong.controller.SettingsController
The SettingsController class controls the settings of the Pong game.
-
Constructor Summary
ConstructorsConstructorDescriptionSettingsController(MainViewController mainViewController) Constructs a SettingsController object with the specified main view controller. -
Method Summary
Modifier and TypeMethodDescriptionvoidupdateSettings(Options options) Updates the game settings with the provided options.
-
Constructor Details
-
SettingsController
Constructs a SettingsController object with the specified main view controller.- Parameters:
mainViewController- The main view controller.
-
-
Method Details
-
updateSettings
Updates the game settings with the provided options.- Parameters:
options- The options to update.
-