|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use SubProvince | |
|---|---|
| de.hagenah.diplomacy.game | |
| de.hagenah.diplomacy.map | |
| Uses of SubProvince in de.hagenah.diplomacy.game |
|---|
| Methods in de.hagenah.diplomacy.game that return SubProvince | |
|---|---|
SubProvince |
Order.getFirst()
Returns the first subprovince in the order. |
SubProvince |
Order.getLast()
Returns the last subprovince in the order. |
SubProvince |
Order.getSecond()
Returns the second subprovince in the order. |
SubProvince |
Unit.getSubProvince()
Returns the subprovince in which the unit is. |
SubProvince |
Order.getSubProvince(int n)
Returns the n-th subprovince in the order. |
| Constructors in de.hagenah.diplomacy.game with parameters of type SubProvince | |
|---|---|
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 SubProvince in de.hagenah.diplomacy.map |
|---|
| Methods in de.hagenah.diplomacy.map that return SubProvince | |
|---|---|
SubProvince |
Province.getSubProvince(int coast)
Retrieves the SubProvince with the specified coast. |
SubProvince |
MapData.getSubProvince(java.awt.geom.Rectangle2D rect,
java.awt.geom.Point2D pos)
Retrieves the SubProvince in which pos lies. |
SubProvince |
MapData.getSubProvince(java.awt.geom.Rectangle2D rect,
java.awt.geom.Point2D pos,
boolean sea)
Retrieves the SubProvince in which pos lies. |
SubProvince |
Province.getSubProvince(java.lang.String coast)
Retrieves the SubProvince with the specified coast. |
SubProvince |
MapData.getSubProvince(java.lang.String name,
int coast)
Retrieves the SubProvince with the specified name and coast. |
SubProvince |
MapData.getSubProvince(java.lang.String name,
java.lang.String coast)
Retrieves the SubProvince with the specified name and coast. |
| Methods in de.hagenah.diplomacy.map with parameters of type SubProvince | |
|---|---|
boolean |
SubProvince.canMoveTo(SubProvince dest)
Can a unit in this subprovince move to dest? |
java.util.List |
Province.getRailway(SubProvince start,
SubProvince end)
Returns the railway subprovinces (except start) if an army moves from start to end. |
boolean |
MapData.isOverUnit(java.awt.geom.Rectangle2D rect,
java.awt.geom.Point2D pos,
SubProvince subprovince,
boolean uniticons)
Is pos over the unit in subprovince? |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||