JavaScript is disabled on your browser.
Skip navigation links
Package
Class
Use
Tree
Index
Help
Package:
Description |
Related Packages |
Classes and Interfaces
SEARCH:
Unnamed Package
All Classes and Interfaces
Interfaces
Classes
Class
Description
Battleship
A Ship with a length of four tiles.
Cruiser
A ship with a length of three tiles.
Destroyer
A ship with a length of two tiles.
EmptySea
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.
Ocean
This class manages the game state by keeping track of what entity is contained in each position on the game board.
OceanInterface
Ship
Ship is the abstract class for all of the ships and sea tiles that will make up the game of Battleship.
Submarine
A ship with a length of one tile.