Interface UserEventListener

All Superinterfaces:
EventListener
All Known Implementing Classes:
Game

public interface UserEventListener extends EventListener

Title: Misc

Interface that a control would need to implement. It defines all of the application actions that the user causes (somehow) through the user interface

Copyright: Copyright (c) 2006

Company: TAFE SA

  • Method Details

    • getUsersHighScores

      void getUsersHighScores(UserEvent userEvent) throws Exception
      User wants to see the high scores they have for each game setting
      Parameters:
      userEvent - - contains the users details
      Throws:
      Exception
    • getAllHighScores

      void getAllHighScores()
      User wants to see the high scores for all the players
    • startPlaying

      void startPlaying(UserEvent e)
      User wants to start playing the game
      Parameters:
      e - details of the View that the event came from
    • exitGame

      void exitGame(UserEvent e)
      User wants to exit the game
      Parameters:
      e - details of the View that the event came from
    • pauseGame

      void pauseGame(UserEvent e)
      User wants to pause the game
      Parameters:
      e - details of the View that the event came from
    • setUpForNewGame

      void setUpForNewGame()
      User wants to start a new game
      Parameters:
      e - details of the View that the event came from but at the moment the data provide is not actually needed
    • changeFiringInterval

      void changeFiringInterval(UserEvent e)
      User wants to change the firing interval
      Parameters:
      e - Would contain the new value for the firing interval
    • changeMoveSpeed

      void changeMoveSpeed(UserEvent e)
      User wants to change the move speed
      Parameters:
      e - Would contain the new value for the firing interval
    • saveCurrentGameResults

      void saveCurrentGameResults(UserEvent e)
      User wants to save the setting for this game
      Parameters:
      e - details of the View that the event came from but at the moment the data provide is not actually needed
    • undoLastSave

      void undoLastSave(UserEvent userEvent)
    • changeSettingForWantingIntroInfo

      void changeSettingForWantingIntroInfo(boolean wantIntroInfo)