| Modifier and Type | Method and Description |
|---|---|
ICaptain |
PeopleFactory.createNewCaptainProperty()
Retrieve a new captain.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CaptainState
Implementation of the captain.
|
| Modifier and Type | Field and Description |
|---|---|
private ICaptain |
CaptainTownMapping.captain |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.base.Optional<ICaptain> |
CaptainsState.getCaptain(ICity city)
Return a captain for a town if there is one.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CaptainsState.hireCaptain(ICaptain captain,
ICity city)
Remove the captain from the availables.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.common.base.Optional<ICaptain> |
IShip.getCaptian()
Retrieve the captain of the ship.
|
| Modifier and Type | Method and Description |
|---|---|
void |
IShip.setCaptain(ICaptain captain)
Set the captain on the ship
|
| Modifier and Type | Field and Description |
|---|---|
private com.google.common.base.Optional<ICaptain> |
Ship.captian |
| Modifier and Type | Method and Description |
|---|---|
void |
Ship.setCaptain(ICaptain captain) |
Copyright © 2011-2015 Sahits GmbH. All Rights Reserved.