Blockadepublic interface IBlockade
| Modifier and Type | Method | Description |
|---|---|---|
void |
addShips(IPlayer player,
java.util.List<IShip> shipList) |
Add a number of ships for a player to the blockade.
|
java.time.LocalDateTime |
getAssemblyDate() |
Date when the convoy is assembled to travel to the city to be blockaded.
|
IConvoy |
getBlockadeConvoy() |
Retrieve the blockade convoy
|
java.time.LocalDateTime |
getEndBlockade() |
End date of the blockade.
|
int |
getNumberOfRequestedShips(IPlayer player) |
Retrieve the number of ships that are requested.
|
java.util.List<IPlayer> |
getPlayersWithRequestedShips() |
Retrieve a list of players which have requested a ship
|
java.util.List<IShip> |
getShips() |
Retrieve all ships for the blockade.
|
java.util.List<IShip> |
getShips(IPlayer player) |
Retrieve the ships of a certain player.
|
java.util.List<IShip> |
getShipsToAuction() |
List containing ships that were captured during the blockade mission,
that will be auctioned at the end.
|
void |
setConvoy(IConvoy convoy) |
Set the convoy.
|
java.time.LocalDateTime getAssemblyDate()
java.time.LocalDateTime getEndBlockade()
IConvoy getBlockadeConvoy()
java.util.List<IShip> getShips(IPlayer player)
player - for which to retrieve the shipsjava.util.List<IShip> getShips()
java.util.List<IPlayer> getPlayersWithRequestedShips()
int getNumberOfRequestedShips(IPlayer player)
player - for whom to retrieve the number of requested shipsplayervoid addShips(IPlayer player, java.util.List<IShip> shipList)
player - for whom to add ships to the blockade convoyshipList - list of ships to be addedvoid setConvoy(IConvoy convoy)
convoy - for the blockadejava.util.List<IShip> getShipsToAuction()
Copyright © 2011-2018 Sahits GmbH. All Rights Reserved.