public class ShipService extends Object
| Constructor and Description |
|---|
ShipService() |
| Modifier and Type | Method and Description |
|---|---|
int |
calculateShipsWeaponsStrength(INavigableVessel ship)
Calculate the total strength of the ships weapons.
|
Optional<INavigableVessel> |
findShipByUuid(List<INavigableVessel> fleet,
String uuid)
Find the ship that matches the UUID within a list of ships.
|
public int calculateShipsWeaponsStrength(INavigableVessel ship)
ship - for which the strengths should be calculatedpublic Optional<INavigableVessel> findShipByUuid(List<INavigableVessel> fleet, String uuid)
fleet - list of navigable vesselsuuid - to be looked upCopyright © 2011-2016 Sahits GmbH. All Rights Reserved.