Index
All Classes and Interfaces|All Packages
P
- parse(String[]) - Static method in class battleship.application.Main
-
Parse input arguments from string to int
- placeShipsOnOcean(int[]) - Method in class battleship.model.game.Game
-
Placing ship on the Ocean.
- Point - Record Class in battleship.model.game.ocean
- Point(int, int) - Constructor for record class battleship.model.game.ocean.Point
-
Creates an instance of a
Point
record class. - PrettyMatrixPrinter - Class in battleship.view.matrixprinter
- PrettyMatrixPrinter() - Constructor for class battleship.view.matrixprinter.PrettyMatrixPrinter
- print(Object[][]) - Static method in class battleship.view.matrixprinter.PrettyMatrixPrinter
-
Prints the table with DEFAULT_PRINTER.
- print(T) - Method in interface battleship.view.matrixprinter.Printer
-
convert object to string
- print(T[][], Printer<T>) - Static method in class battleship.view.matrixprinter.PrettyMatrixPrinter
-
Prints the table with specified printer.
- Printer<T> - Interface in battleship.view.matrixprinter
- printHelp() - Method in class battleship.view.BattleshipView
-
Print help menu.
- printMainMenu() - Static method in class battleship.view.BattleshipView
-
Print the main menu
- printModeMenu(String) - Static method in class battleship.view.BattleshipView
-
Print the Mode choosing menu
- printOcean() - Method in class battleship.view.oceanview.OceanView
-
print Ocean
- printOcean(String) - Method in class battleship.view.BattleshipView
-
Print ocean view to console
All Classes and Interfaces|All Packages