| Package | Description |
|---|---|
| ch.sahits.game.openpatrician.model.city.cityhall | |
| ch.sahits.game.openpatrician.model.city.cityhall.impl | |
| ch.sahits.game.openpatrician.model.people.impl |
| Modifier and Type | Method and Description |
|---|---|
ISeaPirate |
IHuntPirate.getPirate()
The pirate that should be hunted down.
|
| Modifier and Type | Field and Description |
|---|---|
private ISeaPirate |
HuntPirate.pirate |
| Constructor and Description |
|---|
HuntPirate(org.joda.time.DateTime dueDate,
ISeaPirate pirate) |
| Modifier and Type | Class and Description |
|---|---|
class |
SeaPirate
Implementation of the sea pirate
|
| Modifier and Type | Field and Description |
|---|---|
private Set<ISeaPirate> |
SeaPiratesState.freePirates
List of all free pirates
|
private com.google.common.collect.Multimap<IPlayer,ISeaPirate> |
SeaPiratesState.nonFreePirates
List of the non free pirates
|
| Modifier and Type | Method and Description |
|---|---|
ISeaPirate |
SeaPiratesState.createNewPirate(String name,
IShip ship)
Create an new pirate anywhere on the sea
|
ISeaPirate |
SeaPiratesState.createNewPirate(String name,
IShip ship,
javafx.geometry.Point2D near)
Create a pirate near a certain point
|
ISeaPirate |
SeaPiratesState.findSuccessfulPirate()
Find a successful free pirate
|
| Modifier and Type | Method and Description |
|---|---|
Set<ISeaPirate> |
SeaPiratesState.getFreePirates()
Retrieve immutable list of free pirates.
|
List<ISeaPirate> |
SeaPiratesState.getNonFreePirates(IPlayer player)
Retrieve immutable list of non free pirates for the player
|
| Modifier and Type | Method and Description |
|---|---|
void |
SeaPiratesState.add(ISeaPirate pirate,
com.google.common.base.Optional<IPlayer> player)
Add a pirate.
|
void |
SeaPiratesState.free(IPlayer player,
ISeaPirate pirate)
A non free pirate becomes free.
|
private void |
InformantState.setPirateLocation(ISeaPirate pirate,
ICity city)
Set the location of the pirate.
|
Copyright © 2011-2015 Sahits GmbH. All Rights Reserved.