Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
S
- saveCurrentGameResults(UserEvent) - Method in class controller.Game
-
This method is needed in order to be a UserEventListener Method called as a result of a UserEvent - user wants to save the setting for this game
- saveCurrentGameResults(UserEvent) - Method in interface view.UserEventListener
-
User wants to save the setting for this game
- saveData() - Method in class model.GameDetails
- saveData() - Method in class model.UserDetails
- saveData(GameDetails) - Static method in class dao.GameDetailsDAOText
- saveData(UserDetails) - Static method in class dao.UserDetailsDAOText
-
Saves data of given objects to the database.
- saveData(UserDetails) - Method in class model.GameSettings
- saveData(UserDetails, GameSettings) - Static method in class dao.GameSettingsDAOText
-
Saves data of given objects to the database.
- saveHighScore(GameDetails) - Static method in class dao.GameDetailsDAOText
-
Saves high Score for a userName for the game settings currently userHighScoresFile use.
- setAnimated(boolean) - Method in class model.AlienArmyArray
-
setAnimated sets animated status of all aliens
- setAnimated(boolean) - Method in class model.AnimatedEntity
-
setAnimated sets alien animation status
- setAnimationSpritesList(List<String>) - Method in class model.AnimatedEntity
- setController(UserEventListener) - Method in class view.UserView
- setController(UserEventListener) - Method in interface view.UserViewInterface
-
The controller that the view will get to do the 'logic' when the user makes a request via the view (user interface)
- setCurrentGame(GameDetails) - Method in class view.UserView
- setCurrentGame(GameDetails) - Method in interface view.UserViewInterface
- setCurrentState(State) - Method in class model.Entity
- setDyingSpritesList(List<String>) - Method in class model.Entity
- setFiringInterval(int) - Method in class model.GameSettings
- setGameSettings(GameSettings) - Method in class model.GameDetails
- setHeight(int) - Method in class model.BorderEntity
- setHighScore(int) - Method in class model.GameDetails
- setHorizontalMovement(double) - Method in class model.Entity
-
Set the horizontal speed of this entity
- setId(String) - Method in class model.BorderEntity
- setLifeLeft(double) - Method in class model.Entity
- setMoveSpeed(double) - Method in class model.GameSettings
- setNewHighScore(boolean) - Method in class model.GameDetails
- setPassword(String) - Method in class model.UserDetails
-
allows the password to be set/changed
- setPaused(boolean) - Method in class controller.Game
-
Method pauses the game to allow changes to the current game (eg firing interval) to be implemented.
- setScore(int) - Method in class model.GameDetails
- setSelectedItem(Object) - Method in class model.FiringIntervalComboBoxModel
- setSelectedItem(Object) - Method in class model.MoveSpeedComboBoxModel
- setShipsDestroyed(int) - Method in class model.GameDetails
- setShotsFired(int) - Method in class model.GameDetails
- setSound(Clip) - Method in class model.Entity
- setSprite(String) - Method in class model.Entity
-
setSprite
- SettingsListModel - Class in model
- SettingsListModel() - Constructor for class model.SettingsListModel
- SettingsView - Class in view
- SettingsView(Frame, String) - Constructor for class view.SettingsView
- setUpForNewGame() - Method in class controller.Game
- setUpForNewGame() - Method in interface view.UserEventListener
-
User wants to start a new game
- setUpForNewGame(GameDetails) - Method in class view.UserView
- setUpForNewGame(GameDetails) - Method in interface view.UserViewInterface
-
Update the interface ready to start a new game.
- setUserDetails(UserDetails) - Method in class model.GameDetails
- setUserName(String) - Method in class model.UserDetails
-
sets the value of userName
- setVerticalMovement(double) - Method in class model.Entity
-
Set the vertical speed of this entity
- setWantingIntroInfo(boolean) - Method in class model.UserDetails
-
stores the value of whether the introductory info will be displayed to the user
- setWidth(int) - Method in class model.BorderEntity
- ShipEntity - Class in model
-
The entity that represents the players ship
- ShipEntity(int, int) - Constructor for class model.ShipEntity
-
Create a new entity to represent the players ship
- ShotEntity - Class in model
-
An entity representing a shot fired by the player's ship
- ShotEntity(int, int) - Constructor for class model.ShotEntity
-
Create a new shot from the player
- ShotEntity(int, int, double) - Constructor for class model.ShotEntity
-
Create a new shot from the player
- sound - Variable in class model.Entity
-
The sound the entity is making
- SPACEINVADERS_SETTINGS_DB_NAME - Static variable in class dao.SpaceInvadersDAOText
- SPACEINVADERS_USER_HIGH_SCORES_DB_NAME - Static variable in class dao.SpaceInvadersDAOText
- SPACEINVADERS_USERS_DB_NAME - Static variable in class dao.SpaceInvadersDAOText
- SpaceInvadersDAOText - Class in dao
- SpaceInvadersDAOText() - Constructor for class dao.SpaceInvadersDAOText
- speeds - Static variable in class model.MoveSpeedComboBoxModel
- sprite - Variable in class model.Entity
-
The sprite that represents this entity at any given time
- Sprite - Class in model
-
A sprite that is used by an Entity as the Entities visual representation (ie what you see on the screen).
- Sprite(String, Image) - Constructor for class model.Sprite
-
Create a new sprite based on an image
- SPRITE_FOLDER - Static variable in class model.SpriteStore
- SpriteStore - Class in model
-
A resource manager for sprites in the game.
- SpriteStore() - Constructor for class model.SpriteStore
- StartApplication - Class in controller
-
Title: Misc
- StartApplication() - Constructor for class controller.StartApplication
- startPlaying(UserEvent) - Method in class controller.Game
-
Method called as a result of a UserEvent - wants to start the game
- startPlaying(UserEvent) - Method in interface view.UserEventListener
-
User wants to start playing the game
- State - Enum in model
-
POssible states of an Entity
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form