Unnamed Package


  • Class
    Description
    A Ship with a length of four tiles.
    A ship with a length of three tiles.
    A ship with a length of two tiles.
    Considered a type of Ship so that the Ocean's ship 2D array can consist of EmptySea references for empty tiles and proper ships for tiles with ships actually inside of them.
    This class manages the game state by keeping track of what entity is contained in each position on the game board.
     
    Ship is the abstract class for all of the ships and sea tiles that will make up the game of Battleship.
    A ship with a length of one tile.