Index

A B C E F G H I J M N O P R S T V W 
All Classes and Interfaces|All Packages|Constant Field Values

G

Galleon - Class in battleship
The type Galleon represents a ship with a size of 5 units.
Galleon(Compass, IPosition) - Constructor for class battleship.Galleon
Instantiates a new Galleon.
Game - Class in battleship
 
Game(IFleet) - Constructor for class battleship.Game
 
getAdjacentPositions() - Method in interface battleship.IShip
Gets positions.
getAdjacentPositions() - Method in class battleship.Ship
Retrieves a list of positions adjacent to the ship's current positions.
getAlienFleet() - Method in class battleship.Game
 
getAlienFleet() - Method in interface battleship.IGame
Gets the alien fleet
getAlienMoves() - Method in class battleship.Game
 
getAlienMoves() - Method in interface battleship.IGame
Gets alien moves
getBearing() - Method in interface battleship.IShip
Gets bearing.
getBearing() - Method in class battleship.Ship
Gets bearing.
getBottomMostPos() - Method in interface battleship.IShip
Gets bottom most pos.
getBottomMostPos() - Method in class battleship.Ship
Gets bottom most pos.
getCategory() - Method in interface battleship.IShip
Gets category.
getCategory() - Method in class battleship.Ship
Gets category.
getClassicColumn() - Method in interface battleship.IPosition
Gets traditional column.
getClassicColumn() - Method in class battleship.Position
Gets traditional column.
getClassicRow() - Method in interface battleship.IPosition
Gets traditional row.
getClassicRow() - Method in class battleship.Position
Gets traditional row.
getColumn() - Method in interface battleship.IPosition
Gets column.
getColumn() - Method in class battleship.Position
Returns the column coordinate of the position.
getDirection() - Method in enum class battleship.Compass
Gets direction.
getFloatingShips() - Method in class battleship.Fleet
Gets floating ships.
getFloatingShips() - Method in interface battleship.IFleet
Gets floating ships.
getHits() - Method in class battleship.Game
 
getHits() - Method in interface battleship.IGame
Gets hits.
getInvalidShots() - Method in class battleship.Game
 
getInvalidShots() - Method in interface battleship.IGame
Gets invalid shots.
getLeftMostPos() - Method in interface battleship.IShip
Gets left most pos.
getLeftMostPos() - Method in class battleship.Ship
Gets left most pos.
getMyFleet() - Method in class battleship.Game
 
getMyFleet() - Method in interface battleship.IGame
Gets my fleet.
getMyMoves() - Method in class battleship.Game
 
getMyMoves() - Method in interface battleship.IGame
Gets my moves
getNumber() - Method in interface battleship.IMove
 
getNumber() - Method in class battleship.Move
 
getPosition() - Method in interface battleship.IShip
Gets position.
getPosition() - Method in class battleship.Ship
Gets position.
getPositions() - Method in interface battleship.IShip
Gets positions.
getPositions() - Method in class battleship.Ship
Gets positions.
getRemainingShips() - Method in class battleship.Game
 
getRemainingShips() - Method in interface battleship.IGame
Gets remaining ships.
getRepeatedShots() - Method in class battleship.Game
 
getRepeatedShots() - Method in interface battleship.IGame
Gets repeated shots.
getRightMostPos() - Method in interface battleship.IShip
Gets right most pos.
getRightMostPos() - Method in class battleship.Ship
Gets right most pos.
getRow() - Method in interface battleship.IPosition
Gets row.
getRow() - Method in class battleship.Position
Returns the row coordinate of the position.
getShips() - Method in class battleship.Fleet
Gets ships.
getShips() - Method in interface battleship.IFleet
Gets ships.
getShipsLike(String) - Method in class battleship.Fleet
Gets ships like.
getShipsLike(String) - Method in interface battleship.IFleet
Gets ships like.
getShotResults() - Method in interface battleship.IMove
 
getShotResults() - Method in class battleship.Move
 
getShots() - Method in interface battleship.IMove
 
getShots() - Method in class battleship.Move
 
getSize() - Method in interface battleship.IShip
Gets size.
getSize() - Method in class battleship.Ship
Gets size.
getSunkShips() - Method in class battleship.Fleet
Gets sunk ships.
getSunkShips() - Method in class battleship.Game
 
getSunkShips() - Method in interface battleship.IFleet
Gets sunk ships.
getSunkShips() - Method in interface battleship.IGame
Gets sunk ships.
getTopMostPos() - Method in interface battleship.IShip
Gets top most pos.
getTopMostPos() - Method in class battleship.Ship
Gets top most pos.
A B C E F G H I J M N O P R S T V W 
All Classes and Interfaces|All Packages|Constant Field Values