Class Galleon
java.lang.Object
battleship.Ship
battleship.Galleon
- All Implemented Interfaces:
IShip
The type Galleon represents a ship with a size of 5 units.
It is positioned on the game board based on its bearing and initial position.
The Galleon has a unique shape depending on its orientation.
Author: britoeabreu
Date: 2023-10-10
Time: 15:30
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Ship
getAdjacentPositions, getBearing, getBottomMostPos, getCategory, getLeftMostPos, getPosition, getPositions, getRightMostPos, getSize, getTopMostPos, occupies, shoot, sink, stillFloating, tooCloseTo, tooCloseTo, toString
-
Constructor Details
-
Galleon
-