import java.awt.*; public class Human { public Board setupBoard(int x, int y) { Board board = new Board (x,y); if ( Parser.placeOwnShips() ) { ShipList human1Ships = Parser.setupBoard(); board.placeShips(human1Ships); } else { board.generateRandomBoard(Game.DEFAULT_NUMBER_OF_SHIPS); } return board; } public Point getNextShot() { return Parser.getLocation(); } public String getIntro() { return getName() + " fire a shot at"; } public String getPronoun() { return "Your"; } public String getName() { return "You"; } public void print(Board board) { MapPrinter.printBoardForPlayer(getPronoun() + " board:", board); } public void printForOpponent(Board board) { MapPrinter.printBoardForOpponent(getPronoun() + " board whree shots have landed:", board); } public void reportStatus (int status) { Parser.displayResult (status); } }