Uses of Record Class
com.alessiocascini.battleship.client.model.Ship
Packages that use Ship
Package
Description
-
Uses of Ship in com.alessiocascini.battleship.client.event
Methods in com.alessiocascini.battleship.client.event with parameters of type ShipModifier and TypeMethodDescriptionvoidPlacementHandler.highlightShipCells(Ship ship) Updates the UI to visually represent a ship that has been successfully placed.Constructor parameters in com.alessiocascini.battleship.client.event with type arguments of type ShipModifierConstructorDescriptionConfirmPlacementListener(PlacementHandler handler, List<Ship> ships) Constructs the listener with a UI handler and the list of placed ships.PlacementCellListener(PlacementHandler handler, List<Ship> ships, int row, int col) Constructs a listener for a specific cell in the grid. -
Uses of Ship in com.alessiocascini.battleship.client.ui
Methods in com.alessiocascini.battleship.client.ui with parameters of type ShipModifier and TypeMethodDescriptionvoidPlacementUI.highlightShipCells(Ship ship) Colors the cells occupied by a newly placed ship to provide visual feedback.Constructor parameters in com.alessiocascini.battleship.client.ui with type arguments of type Ship