Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
G
- Game - Class in controller
-
The main hook of our game.
- Game(UserDetails, GameSettings, UserViewInterface) - Constructor for class controller.Game
-
Construct our game.
- GameDetails - Class in model
-
The details for one game, including the user playing, the game settings the scoring (shots fired, ships destroyed, score and previous high score)
- GameDetails() - Constructor for class model.GameDetails
- GameDetails(UserDetails, GameSettings) - Constructor for class model.GameDetails
- GameDetailsDAOText - Class in dao
-
Database access object for Model element GameDetails.
- GameDetailsDAOText() - Constructor for class dao.GameDetailsDAOText
- GameDetailsDBTest - Class in testHarnesses
- GameDetailsDBTest() - Constructor for class testHarnesses.GameDetailsDBTest
- GameDetailsTest - Class in testHarnesses
- GameDetailsTest() - Constructor for class testHarnesses.GameDetailsTest
- GameHighScoresView - Class in view
- GameHighScoresView(List<GameDetails>, Frame) - Constructor for class view.GameHighScoresView
- GameHighScoreTableModel - Class in model
- GameHighScoreTableModel(String[], List<GameDetails>) - Constructor for class model.GameHighScoreTableModel
- gameLoop() - Method in class controller.Game
-
The main game loop.
- GameSettings - Class in model
-
Title: Misc
- GameSettings() - Constructor for class model.GameSettings
-
no-arg GameSettings constructor
- GameSettings(double, int) - Constructor for class model.GameSettings
-
two arg GameSettings constructor
- GameSettingsDAOText - Class in dao
- GameSettingsDAOText() - Constructor for class dao.GameSettingsDAOText
- GameSettingsDBTest - Class in testHarnesses
-
Title: Misc
- GameSettingsDBTest() - Constructor for class testHarnesses.GameSettingsDBTest
- GameSettingsTest - Class in testHarnesses
- GameSettingsTest() - Constructor for class testHarnesses.GameSettingsTest
- get() - Static method in class model.SpriteStore
-
Get the single instance of this class
- getAllHighScores() - Method in class controller.Game
-
Gets the game high scores from the database then asks the View to display the high scores
- getAllHighScores() - Method in interface view.UserEventListener
-
User wants to see the high scores for all the players
- getAnimationSpritesList() - Method in class model.AnimatedEntity
-
Setters and Getters
- getColumnCount() - Method in class model.GameHighScoreTableModel
- getColumnCount() - Method in class model.UsersHighScoreTableModel
- getColumnName(int) - Method in class model.GameHighScoreTableModel
- getColumnName(int) - Method in class model.UsersHighScoreTableModel
- getCurrentGame() - Method in class view.UserView
- getCurrentGame() - Method in interface view.UserViewInterface
- getCurrentState() - Method in class model.Entity
- getDyingSpritesList() - Method in class model.Entity
-
******************* Setters and Getters
- getElementAt(int) - Method in class model.FiringIntervalComboBoxModel
- getElementAt(int) - Method in class model.MoveSpeedComboBoxModel
- getElementAt(int) - Method in class model.SettingsListModel
- getEntity() - Method in class model.events.EntityDiedEvent
- getEntity() - Method in class model.events.EntityMoveEvent
- getFiringInterval() - Method in class model.GameSettings
- getFiringInterval() - Method in class view.UserEvent
-
getFiringInterval
- getGameHighScores() - Static method in class dao.SpaceInvadersDAOText
-
Loads the games high scores for every existing firing interval and move speed
- getGamePanel() - Method in class controller.Game
- getGameSettings() - Method in class model.GameDetails
- getHeight() - Method in class model.BorderEntity
- getHeight() - Method in class model.Sprite
-
Get the height of the drawn sprite
- getHighScore() - Method in class model.GameDetails
- getHighScores(UserDetails) - Static method in class dao.UserDetailsDAOText
-
Loads users high scores for all games
- getHit() - Method in class model.events.EntityHitEvent
- getHitBy() - Method in class model.events.EntityHitEvent
- getHorizontalMovement() - Method in class model.Entity
-
Get the horizontal speed of this entity
- getId() - Method in class model.BorderEntity
- getLifeLeft() - Method in class model.Entity
- getMoveSpeed() - Method in class model.GameSettings
- getMoveSpeed() - Method in class view.UserEvent
- getNumEntities() - Method in class model.EntityListArray
-
Number of entities
- getNumEntities() - Method in interface model.EntityListInterface
-
Number of entities
- getPassword() - Method in class model.UserDetails
- getPassword() - Method in class view.JDialogLogin
- getPlayerType() - Method in class view.JDialogLogin
- getRandom() - Method in class model.EntityListArray
-
if there are no entities in the list return null return one of the entities in the array - choosing it randomly
- getRandom() - Method in interface model.EntityListInterface
-
return one of the entities in the list - choosing it randomly If there are no entities in the list will return null
- getRef() - Method in class model.Sprite
- getResult() - Method in class view.SettingsView
- getRowCount() - Method in class model.GameHighScoreTableModel
- getRowCount() - Method in class model.UsersHighScoreTableModel
- getScore() - Method in class model.GameDetails
- getSelectedItem() - Method in class model.FiringIntervalComboBoxModel
- getSelectedItem() - Method in class model.MoveSpeedComboBoxModel
- getSettingsInputConnection() - Static method in class dao.SpaceInvadersDAOText
- getShipsDestroyed() - Method in class model.GameDetails
- getShotsFired() - Method in class model.GameDetails
- getSize() - Method in class model.FiringIntervalComboBoxModel
- getSize() - Method in class model.MoveSpeedComboBoxModel
- getSize() - Method in class model.SettingsListModel
- getSound() - Method in class model.Entity
- getSprite() - Method in class model.Entity
- getSprite(String) - Method in class model.SpriteStore
-
Retrieve a sprite from the store
- getUser() - Method in class controller.LoginController
- getUserDetails() - Method in class model.GameDetails
- getUserHighScoresInputConnection() - Static method in class dao.SpaceInvadersDAOText
- getUsername() - Method in class view.JDialogLogin
- getUserName() - Method in class model.UserDetails
- getUserName() - Method in class view.UserEvent
- getUsersHighScores(UserEvent) - Method in class controller.Game
-
Gets the users high scores from the database then asks the View to display the high scores
- getUsersHighScores(UserEvent) - Method in interface view.UserEventListener
-
User wants to see the high scores they have for each game setting
- getUsersInputConnection() - Static method in class dao.SpaceInvadersDAOText
- getValueAt(int, int) - Method in class model.GameHighScoreTableModel
- getValueAt(int, int) - Method in class model.UsersHighScoreTableModel
- getVerticalMovement() - Method in class model.Entity
-
Get the vertical speed of this entity
- getWidth() - Method in class model.BorderEntity
- getWidth() - Method in class model.Sprite
-
Get the width of the drawn sprite
- getX() - Method in class model.Entity
-
Get the x location of this entity
- getY() - Method in class model.Entity
-
Get the y location of this entity
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form