Module project.pong

Class SettingsController

java.lang.Object
project.pong.controller.SettingsController

public class SettingsController extends Object
The SettingsController class controls the settings of the Pong game.
  • Constructor Details

    • SettingsController

      public SettingsController(MainViewController mainViewController)
      Constructs a SettingsController object with the specified main view controller.
      Parameters:
      mainViewController - The main view controller.
  • Method Details

    • updateSettings

      public void updateSettings(Options options)
      Updates the game settings with the provided options.
      Parameters:
      options - The options to update.