|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Country | |
|---|---|
| de.hagenah.diplomacy.game | |
| de.hagenah.diplomacy.map | |
| Uses of Country in de.hagenah.diplomacy.game |
|---|
| Methods in de.hagenah.diplomacy.game that return Country | |
|---|---|
Country |
Turn.getCenter(Province center)
Returns the owner of a center or null. |
Country |
Unit.getCountry()
Returns the owner of the unit. |
Country |
Order.getCountry()
Returns the country who ordered this order. |
Country |
Order.getProxy()
Returns the country to which the unit is proxied. |
Country |
Turn.getUnitCountry(Province province)
Returns the owner of the unit in province. |
| Methods in de.hagenah.diplomacy.game with parameters of type Country | |
|---|---|
boolean |
Turn.areNoOrdersNeeded(Country country)
Are no orders needed for the country? |
int |
Turn.getBuilds(Country country)
Returns the builds for a country. |
java.util.SortedSet |
Turn.getCenters(Country owner)
Returns all centers (Province) of owner. |
Order |
Turn.getOrder(Country country,
Province province)
Returns the order of the country for the unit in province. |
java.util.Collection |
Turn.getWaiveOrders(Country country)
Returns all waive orders of the country (Order objects) |
void |
Turn.setBuilds(Country country,
int units)
Sets the builds for a country |
void |
Turn.setCenter(Province center,
Country owner)
Sets the owner for a center |
| Constructors in de.hagenah.diplomacy.game with parameters of type Country | |
|---|---|
Order(Country country,
int type)
Creates a waive order. |
|
Order(Country country,
int type,
java.util.List subprovinces)
Creates an unambiguous moveconvoy order. |
|
Order(Country country,
int type,
SubProvince subprovince)
Creates a hold, disband, build, or remove order. |
|
Order(Country country,
int type,
SubProvince subprovince,
Country proxy)
Creates a proxy order. |
|
Order(Country country,
int type,
SubProvince from,
SubProvince to)
Creates a retreat, move, ambiguous moveconvoy, or supporthold order. |
|
Order(Country country,
int type,
SubProvince from,
SubProvince to,
int coasthint)
Creates a supporthold order with coasthint. |
|
Order(Country country,
int type,
SubProvince subprovince,
SubProvince from,
SubProvince to)
Creates a support, convoy, moverailway, movegateway, or gateway order. |
|
Order(Country country,
int type,
SubProvince subprovince,
SubProvince from,
SubProvince to,
int coasthint)
Creates a support order with a coast hint. |
|
Unit(Country country,
SubProvince subprovince)
Creates a unit that cannot retreat. |
|
Unit(Country country,
SubProvince subprovince,
java.util.Collection retreats)
Creates a dislodged unit. |
|
| Uses of Country in de.hagenah.diplomacy.map |
|---|
| Methods in de.hagenah.diplomacy.map that return Country | |
|---|---|
Country |
MapData.getCountry(java.lang.String name)
Retrieves the Country with the specified name. |
Country |
Province.getRailwayOwner()
Return the owner of the railway (only his units can use it). |
| Methods in de.hagenah.diplomacy.map with parameters of type Country | |
|---|---|
java.util.SortedSet |
MapData.getHomeCenters(Country country,
java.util.Map specialcenters)
Returns the home centers for a country |
boolean |
Province.isCenter(Country country)
Is this province a center for country? |
boolean |
MapData.isHomeCenter(Country country,
Province center,
java.util.Map specialcenters)
Tests whether the specified center is a home center of the specified country. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||