Interface UserEventListener
- All Superinterfaces:
EventListener
- All Known Implementing Classes:
Game
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 Summary
Modifier and TypeMethodDescriptionvoidUser wants to change the firing intervalvoidUser wants to change the move speedvoidchangeSettingForWantingIntroInfo(boolean wantIntroInfo) voidUser wants to exit the gamevoidUser wants to see the high scores for all the playersvoidgetUsersHighScores(UserEvent userEvent) User wants to see the high scores they have for each game settingvoidUser wants to pause the gamevoidUser wants to save the setting for this gamevoidUser wants to start a new gamevoidUser wants to start playing the gamevoidundoLastSave(UserEvent userEvent)
-
Method Details
-
getUsersHighScores
-
getAllHighScores
void getAllHighScores()User wants to see the high scores for all the players -
startPlaying
User wants to start playing the game- Parameters:
e- details of the View that the event came from
-
exitGame
User wants to exit the game- Parameters:
e- details of the View that the event came from
-
pauseGame
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
User wants to change the firing interval- Parameters:
e- Would contain the new value for the firing interval
-
changeMoveSpeed
User wants to change the move speed- Parameters:
e- Would contain the new value for the firing interval
-
saveCurrentGameResults
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
-
changeSettingForWantingIntroInfo
void changeSettingForWantingIntroInfo(boolean wantIntroInfo)
-