| Modifier and Type | Method | Description |
|---|---|---|
ISeaPirate |
IHuntPirate.getPirate() |
The pirate that should be hunted down.
|
| Constructor | Description |
|---|---|
HuntPirate(int duration,
ISeaPirate pirate) |
| Modifier and Type | Interface | Description |
|---|---|---|
interface |
INonFreeSeaPirate |
Special case of a pirate.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
IInformant.setPirateLocation(ISeaPirate pirate,
ICity city) |
Set the location of the pirate.
|
| Modifier and Type | Class | Description |
|---|---|---|
class |
NonFreeSeaPirate |
Implementation of a non free pirate.
|
class |
SeaPirate |
Implementation of the sea pirate
|
| Modifier and Type | Method | Description |
|---|---|---|
ISeaPirate |
SeaPiratesState.findSuccessfulPirate() |
Find a successful free pirate
|
| Modifier and Type | Method | Description |
|---|---|---|
java.util.Set<ISeaPirate> |
SeaPiratesState.getAllPirates() |
Retrieve all pirates.
|
java.util.Set<ISeaPirate> |
SeaPiratesState.getFreePirates() |
Retrieve immutable list of free pirates.
|
java.util.List<ISeaPirate> |
SeaPiratesState.getNonFreePirates(IPlayer player) |
Retrieve immutable list of non free pirates for the player
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
SeaPiratesState.add(ISeaPirate pirate) |
Add a pirate.
|
void |
SeaPiratesState.remove(ISeaPirate pirate) |
Remove a pirate from the list.
|
void |
SeaPiratesState.replace(INonFreeSeaPirate pirate,
ISeaPirate replaceWith) |
A non free priate becomes a free pirate.
|
void |
InformantState.setPirateLocation(ISeaPirate pirate,
ICity city) |
Copyright © 2011-2018 Sahits GmbH. All Rights Reserved.