Uses of Class
Ocean

  • Uses of Ocean in Unnamed Package

    Methods in Unnamed Package with parameters of type Ocean
    Modifier and Type
    Method
    Description
    boolean
    Ship.okToPlaceShipAt(int row, int column, boolean horizontal, Ocean ocean)
    Determines whether or not this is represents a valid placement configuration for this Ship in this Ocean.
    void
    Ship.placeShipAt(int row, int column, boolean horizontal, Ocean ocean)
    Puts the Ship in the Ocean.