- setDifficulty(int) - Method in interface it.unibo.battleship.main.control.SettingsControl
-
- SettingsBoundary - Interface in it.unibo.battleship.main.boundary
-
Represents the boundary used to set all
the environment variables for the game.
- SettingsControl - Interface in it.unibo.battleship.main.control
-
Represents the settings control.
- setUpAiLevelEasy() - Method in interface it.unibo.battleship.main.control.BattleshipControl
-
Sets the AI level to easy
- setUpAiLevelEasy() - Method in enum it.unibo.battleship.main.control.BattleshipControlImpl
-
- setUpAiLevelSuperEasy() - Method in interface it.unibo.battleship.main.control.BattleshipControl
-
Sets the AI level to super easy
- setUpAiLevelSuperEasy() - Method in enum it.unibo.battleship.main.control.BattleshipControlImpl
-
- Ship - Interface in it.unibo.battleship.main.entity.ships
-
Represents a Ship which can have a direction,
a size, and it can be sunk.
- SHIP_NOT_WITHIN_LIMITS - Static variable in class it.unibo.battleship.main.common.GlobalProperties
-
- ShipDirection - Enum in it.unibo.battleship.main.entity.ships
-
Represents the direction for a ship placement.
- ShipFactory - Interface in it.unibo.battleship.main.entity.ships
-
Represents a Ship factory.
- ShipFactoryImpl - Enum in it.unibo.battleship.main.entity.ships
-
- shoot(Point2d) - Method in interface it.unibo.battleship.main.boundary.ShootingBoundary
-
- shoot(Point2d) - Method in interface it.unibo.battleship.main.control.ShootingControl
-
- shoot(Shot) - Method in interface it.unibo.battleship.main.entity.map.FieldCell
-
Tries to shoot this field cell.
- shoot(Shot) - Method in class it.unibo.battleship.main.entity.map.FieldCellImpl
-
- shoot(Shot) - Method in class it.unibo.battleship.main.entity.ships.AbstractShip
-
- shoot(Shot) - Method in interface it.unibo.battleship.main.entity.ships.Ship
-
Tries to shoot this ship.
- SHOOT_AGAIN_AFTER_HIT - Static variable in class it.unibo.battleship.main.common.Ruleset
-
- shootAiField(Point2d) - Method in interface it.unibo.battleship.main.control.BattleshipControl
-
Tries to shoot the current cell selected.
- shootAiField(Point2d) - Method in enum it.unibo.battleship.main.control.BattleshipControlImpl
-
- ShootingBoundary - Interface in it.unibo.battleship.main.boundary
-
Represents the boundary used to shoot a fleet.
- ShootingControl - Interface in it.unibo.battleship.main.control
-
Provides the control for shooting.
- shootPlayerField() - Method in interface it.unibo.battleship.main.control.BattleshipControl
-
Tries to shoot the player field.
- shootPlayerField() - Method in enum it.unibo.battleship.main.control.BattleshipControlImpl
-
- Shot - Interface in it.unibo.battleship.main.entity.shots
-
Represents a single shot which can be thrown on the battlefield.
- ShotFactory - Interface in it.unibo.battleship.main.entity.shots
-
Represents a Shot Factory.
- ShotImpl - Class in it.unibo.battleship.main.entity.shots
-
Implementation of a Shot.
- ShotsCollection - Class in it.unibo.battleship.main.entity.shots
-
Represents a set of shots.
- ShotsCollection.Type - Enum in it.unibo.battleship.main.entity.shots
-
Type of the Shot collection.
- showField() - Method in interface it.unibo.battleship.main.boundary.GameBoundary
-
Shows the current game field.
- showField() - Method in interface it.unibo.battleship.main.boundary.ShootingBoundary
-
Shows the field.
- showFleet() - Method in interface it.unibo.battleship.main.boundary.FleetPlacementBoundary
-
Shows the fleet.
- showMessage(String) - Method in interface it.unibo.battleship.main.boundary.IoBoundary
-
Shows a message.
- showSettings() - Method in interface it.unibo.battleship.main.boundary.GameBoundary
-
Shows the current game settings.
- showSettings() - Method in interface it.unibo.battleship.main.boundary.SettingsBoundary
-
Shows the current settings.
- STARTING_POSITION_NOT_DEFINED - Static variable in class it.unibo.battleship.main.common.GlobalProperties
-
- State - Enum in it.unibo.battleship.main.entity.map
-
- SUBMARINE_SIZE - Static variable in class it.unibo.battleship.main.common.GlobalProperties
-
- switchDirection(ShipDirection) - Method in class it.unibo.battleship.main.entity.ships.AbstractShip
-
Not supported yet.
- switchDirection(ShipDirection) - Method in interface it.unibo.battleship.main.entity.ships.Ship
-
Switches the direction of the ship if possible.