Index
All Classes and Interfaces|All Packages
S
- scoreByHit() - Method in record class battleship.model.game.HealthReport
-
Returns the value of the
scoreByHit
record component. - setCurrentSession(Game) - Method in class battleship.model.game.user.User
-
set current game session.
- setGameMode(EnumSet<GameMode>, int) - Method in class battleship.model.game.Game
-
Set the game mode.
- Ship - Class in battleship.model.ships
- Ship(int) - Constructor for class battleship.model.ships.Ship
- SHIP_RECOVERY_MODE_ENABLE - Enum constant in enum class battleship.model.game.GameMode
- ShipCellView - Class in battleship.view.oceanview
- ShipCellView() - Constructor for class battleship.view.oceanview.ShipCellView
- ShipPosition - Class in battleship.model.game.ocean
- ShipPosition(Point, ShipPosition.Direction) - Constructor for class battleship.model.game.ocean.ShipPosition
- ShipPosition.Direction - Enum Class in battleship.model.game.ocean
-
All available direction
- shipWasAttackByUser(AttackReport) - Method in class battleship.view.oceanview.ShipCellView
-
update cell status if it was attacked by user
- startGame() - Method in class battleship.controller.BattleshipController
-
Start new game from user input parameters
- startGame(int[]) - Method in class battleship.controller.BattleshipController
-
Start new game with arguments from terminal.
- StatusChangedListener - Interface in battleship.model.game.user
- Submarine - Class in battleship.model.ships
- Submarine() - Constructor for class battleship.model.ships.Submarine
- SUNK - Enum constant in enum class battleship.model.game.AttackReport.HitResult
All Classes and Interfaces|All Packages