Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- addShip(IShip) - Method in class battleship.Fleet
-
Add ship boolean.
- addShip(IShip) - Method in interface battleship.IFleet
-
Add ship boolean.
- adjacentPositions() - Method in interface battleship.IPosition
-
Retrieves a list of positions that are adjacent to the current position.
- adjacentPositions() - Method in class battleship.Position
-
Returns all valid adjacent positions (up, right, down, left) for this position.
All Classes and Interfaces|All Packages|Constant Field Values