Uses of Interface
battleship.IMove
-
Uses of IMove in battleship
Classes in battleship that implement IMoveMethods in battleship that return types with arguments of type IMoveModifier and TypeMethodDescriptionGame.getAlienMoves()IGame.getAlienMoves()Gets alien movesGame.getMyMoves()IGame.getMyMoves()Gets my movesMethod parameters in battleship with type arguments of type IMoveModifier and TypeMethodDescriptionstatic voidGame.printBoard(IFleet fleet, List<IMove> moves, boolean show_shots, boolean showLegend) Prints the game board by representing the positions of ships, adjacent tiles, shots, and other game elements onto the console.