Index
All Classes and Interfaces|All Packages
H
- hashCode() - Method in record class battleship.model.game.HealthReport
-
Returns a hash code value for this object.
- hashCode() - Method in record class battleship.model.game.ocean.Point
-
Returns a hash code value for this object.
- health - Variable in class battleship.model.ships.Ship
- healthRemaining() - Method in record class battleship.model.game.HealthReport
-
Returns the value of the
healthRemaining
record component. - HealthReport - Record Class in battleship.model.game
-
Health report (contains ship health remaining, and power of attack).
- HealthReport(int, int) - Constructor for record class battleship.model.game.HealthReport
-
Creates an instance of a
HealthReport
record class. - HIT - Enum constant in enum class battleship.model.game.AttackReport.HitResult
- hitOnPlace(Point, FiringMode) - Method in class battleship.model.game.Game
-
Attack on specified point on ocean.
- hitOnPlace(Point, FiringMode) - Method in class battleship.model.game.user.User
-
Hit on place in current game session.
- hitTheShip(FiringMode) - Method in class battleship.model.ships.Ship
-
Hit the ship with firing mode.
All Classes and Interfaces|All Packages