|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Unit.Type | |
dip.gui.map | |
dip.gui.order | |
dip.order | |
dip.world | |
dip.world.variant.data |
Uses of Unit.Type in dip.gui.map |
Methods in dip.gui.map with parameters of type Unit.Type | |
abstract java.lang.String |
MapRenderer2.getSymbolName(Unit.Type unitType)
Get the Symbol Name for the given unit type |
java.lang.String |
DefaultMapRenderer2.getSymbolName(Unit.Type unitType)
Get the Symbol Name for the given unit type |
java.lang.String |
DefaultMapRenderer2.DMRMapInfo.getSymbolName(Unit.Type unitType)
|
Uses of Unit.Type in dip.gui.order |
Methods in dip.gui.order with parameters of type Unit.Type | |
Hold |
GUIOrderFactory.createHold(Power power,
Location source,
Unit.Type sourceUnitType)
Creates a GUIHold order |
Move |
GUIOrderFactory.createMove(Power power,
Location source,
Unit.Type srcUnitType,
Location dest)
Creates a GUIMove order |
Move |
GUIOrderFactory.createMove(Power power,
Location source,
Unit.Type srcUnitType,
Location dest,
boolean isConvoying)
Creates a GUIMove order |
Move |
GUIOrderFactory.createMove(Power power,
Location src,
Unit.Type srcUnitType,
Location dest,
Province[] convoyRoute)
Creates a GUIMove order |
Move |
GUIOrderFactory.createMove(Power power,
Location src,
Unit.Type srcUnitType,
Location dest,
java.util.List routes)
Creates a GUIMove order |
Support |
GUIOrderFactory.createSupport(Power power,
Location src,
Unit.Type srcUnitType,
Location supSrc,
Power supPower,
Unit.Type supUnitType)
Creates a GUISupport order, to Support a unit staying in place. |
Support |
GUIOrderFactory.createSupport(Power power,
Location src,
Unit.Type srcUnitType,
Location supSrc,
Power supPower,
Unit.Type supUnitType,
Location supDest)
Creates a GUISupport order, to Support a unit moving (or staying in place, if supDest == null) |
Convoy |
GUIOrderFactory.createConvoy(Power power,
Location src,
Unit.Type srcUnitType,
Location convoySrc,
Power convoyPower,
Unit.Type convoySrcUnitType,
Location convoyDest)
Creates a GUIConvoy order |
Retreat |
GUIOrderFactory.createRetreat(Power power,
Location source,
Unit.Type srcUnitType,
Location dest)
Creates a GUIRetreat order |
Disband |
GUIOrderFactory.createDisband(Power power,
Location source,
Unit.Type sourceUnitType)
Creates a GUIDisband order |
Build |
GUIOrderFactory.createBuild(Power power,
Location source,
Unit.Type sourceUnitType)
Creates a GUIBuild order |
Remove |
GUIOrderFactory.createRemove(Power power,
Location source,
Unit.Type sourceUnitType)
Creates a GUIRemove order |
DefineState |
GUIOrderFactory.createDefineState(Power power,
Location source,
Unit.Type sourceUnitType)
Creates a GUIDefineState order |
abstract java.lang.String |
GUIOrder.MapInfo.getSymbolName(Unit.Type unitType)
Gets the Symbol Name for a given unit type |
Constructors in dip.gui.order with parameters of type Unit.Type | |
GUISupport(Power power,
Location src,
Unit.Type srcUnitType,
Location supSrc,
Power supPower,
Unit.Type supUnitType)
Creates a GUISupport |
|
GUISupport(Power power,
Location src,
Unit.Type srcUnitType,
Location supSrc,
Power supPower,
Unit.Type supUnitType,
Location supDest)
Creates a GUISupport |
|
GUIRetreat(Power power,
Location source,
Unit.Type sourceUnitType,
Location dest)
Creates a GUIRetreat |
|
GUIRemove(Power power,
Location source,
Unit.Type sourceUnitType)
Creates a GUIRemove |
|
GUIMoveExplicit(Power power,
Location source,
Unit.Type srcUnitType,
Location dest,
boolean isConvoying)
Creates a GUIMoveExplicit |
|
GUIMoveExplicit(Power power,
Location src,
Unit.Type srcUnitType,
Location dest,
Province[] convoyRoute)
Creates a GUIMoveExplicit |
|
GUIMoveExplicit(Power power,
Location src,
Unit.Type srcUnitType,
Location dest,
java.util.List routes)
Creates a GUIMoveExplicit |
|
GUIMove(Power power,
Location source,
Unit.Type srcUnitType,
Location dest,
boolean isConvoying)
Creates a GUIMove |
|
GUIMove(Power power,
Location src,
Unit.Type srcUnitType,
Location dest,
Province[] convoyRoute)
Creates a GUIMove |
|
GUIMove(Power power,
Location src,
Unit.Type srcUnitType,
Location dest,
java.util.List routes)
Creates a GUIMove |
|
GUIHold(Power power,
Location source,
Unit.Type sourceUnitType)
Creates a GUIHold |
|
GUIDisband(Power power,
Location source,
Unit.Type sourceUnitType)
Creates a GUIDisband |
|
GUIDefineState(Power power,
Location source,
Unit.Type sourceUnitType)
Creates a GUIDefineState |
|
GUIConvoy(Power power,
Location src,
Unit.Type srcUnitType,
Location convoySrc,
Power convoyPower,
Unit.Type convoySrcUnitType,
Location convoyDest)
Creates a GUIConvoy |
|
GUIBuild(Power power,
Location source,
Unit.Type sourceUnitType)
Creates a GUIBuild |
Uses of Unit.Type in dip.order |
Fields in dip.order declared as Unit.Type | |
protected Unit.Type |
Support.supUnitType
|
protected Unit.Type |
Order.srcUnitType
Type of the ordered unit |
protected Unit.Type |
Convoy.convoyUnitType
|
Methods in dip.order that return Unit.Type | |
Unit.Type |
Support.getSupportedUnitType()
Returns the Unit Type of the Unit we are Supporting Warning: this can be null, if no unit type was set, and no strict validation was performed (via validate() ). |
Unit.Type |
Orderable.getSourceUnitType()
Gets the Type of the ordered unit |
Unit.Type |
Order.getSourceUnitType()
|
protected Unit.Type |
Order.getValidatedUnitType(Province province,
Unit.Type unitType,
Unit unit)
Convenience method for matching unit types. |
Unit.Type |
Convoy.getConvoyUnitType()
Returns the Unit Type of the Unit to be Convoyed Warning: this can be null, if no unit type was set, and no strict validation was performed (via validate() ). |
Methods in dip.order with parameters of type Unit.Type | |
static java.lang.String |
OrderFormat.format(OrderFormatOptions ofo,
Unit.Type unitType)
Format a Unit Type given the order formatting parameters. |
abstract Hold |
OrderFactory.createHold(Power power,
Location source,
Unit.Type sourceUnitType)
Creates a Hold order |
abstract Move |
OrderFactory.createMove(Power power,
Location source,
Unit.Type srcUnitType,
Location dest)
Creates a Move order |
abstract Move |
OrderFactory.createMove(Power power,
Location source,
Unit.Type srcUnitType,
Location dest,
boolean isConvoying)
Creates a Move order |
abstract Move |
OrderFactory.createMove(Power power,
Location src,
Unit.Type srcUnitType,
Location dest,
Province[] convoyRoute)
Creates a Move order |
abstract Move |
OrderFactory.createMove(Power power,
Location src,
Unit.Type srcUnitType,
Location dest,
java.util.List routes)
Creates a Move order |
abstract Support |
OrderFactory.createSupport(Power power,
Location src,
Unit.Type srcUnitType,
Location supSrc,
Power supPower,
Unit.Type supUnitType)
Creates a Support order, to Support a unit staying in place. |
abstract Support |
OrderFactory.createSupport(Power power,
Location src,
Unit.Type srcUnitType,
Location supSrc,
Power supPower,
Unit.Type supUnitType,
Location supDest)
Creates a Support order, to Support a unit moving (or staying in place, if supDest == null) |
abstract Convoy |
OrderFactory.createConvoy(Power power,
Location src,
Unit.Type srcUnitType,
Location convoySrc,
Power convoyPower,
Unit.Type convoySrcUnitType,
Location convoyDest)
Creates a Convoy order |
abstract Retreat |
OrderFactory.createRetreat(Power power,
Location source,
Unit.Type srcUnitType,
Location dest)
Creates a Retreat order |
abstract Disband |
OrderFactory.createDisband(Power power,
Location source,
Unit.Type sourceUnitType)
Creates a Disband order |
abstract Build |
OrderFactory.createBuild(Power power,
Location source,
Unit.Type sourceUnitType)
Creates a Build order |
abstract Remove |
OrderFactory.createRemove(Power power,
Location source,
Unit.Type sourceUnitType)
Creates a Remove order |
abstract DefineState |
OrderFactory.createDefineState(Power power,
Location source,
Unit.Type sourceUnitType)
Creates a DefineState order |
protected Unit.Type |
Order.getValidatedUnitType(Province province,
Unit.Type unitType,
Unit unit)
Convenience method for matching unit types. |
Constructors in dip.order with parameters of type Unit.Type | |
Support(Power power,
Location src,
Unit.Type srcUnit,
Location supSrc,
Power supPower,
Unit.Type supUnit)
Creates a Support order, for supporting a Hold or other non-movement order. |
|
Support(Power power,
Location src,
Unit.Type srcUnit,
Location supSrc,
Power supPower,
Unit.Type supUnit,
Location supDest)
Creates a Support order, for Supporting a Move order. |
|
Retreat(Power power,
Location src,
Unit.Type srcUnitType,
Location dest)
Creates a Retreat order |
|
Remove(Power power,
Location src,
Unit.Type srcUnit)
Creates a Remove order |
|
Order(Power power,
Location src,
Unit.Type srcUnit)
Constructor for the Order object |
|
Move(Power power,
Location src,
Unit.Type srcUnitType,
Location dest)
Creates a Move order |
|
Move(Power power,
Location src,
Unit.Type srcUnitType,
Location dest,
boolean isConvoying)
Creates a Move order, with optional convoy preference. |
|
Move(Power power,
Location src,
Unit.Type srcUnitType,
Location dest,
Province[] convoyRoute)
Creates a Move order with an explicit convoy route. |
|
Move(Power power,
Location src,
Unit.Type srcUnitType,
Location dest,
java.util.List routes)
Creates a Move order with multiple explicit convoy routes. |
|
Hold(Power power,
Location src,
Unit.Type srcUnit)
Creates a Hold order |
|
Disband(Power power,
Location src,
Unit.Type srcUnit)
Creates a Disband order |
|
DefineState(Power power,
Location src,
Unit.Type srcUnit)
|
|
Convoy(Power power,
Location src,
Unit.Type srcUnit,
Location convoySrc,
Power convoyPower,
Unit.Type convoyUnitType,
Location convoyDest)
Creates a Convoy order |
|
Build(Power power,
Location src,
Unit.Type srcUnit)
Creates a Build order |
Uses of Unit.Type in dip.world |
Fields in dip.world declared as Unit.Type | |
protected Unit.Type |
Unit.type
|
static Unit.Type |
Unit.Type.ARMY
Constant representing an Army |
static Unit.Type |
Unit.Type.FLEET
Constant representing a Fleet |
static Unit.Type |
Unit.Type.WING
Constant representing a Wing |
static Unit.Type |
Unit.Type.UNDEFINED
Constant representing an unknown type |
Methods in dip.world that return Unit.Type | |
Unit.Type |
Unit.getType()
Get the Type of unit (e.g., Army or Fleet) |
static Unit.Type |
Unit.Type.parse(java.lang.String text)
Returns a type constant corresponding to the input. |
Methods in dip.world with parameters of type Unit.Type | |
boolean |
Province.canTransit(Location fromLoc,
Unit.Type unit,
Phase phase,
java.lang.Class orderClass)
Checks if unit can transit from a Location to this Province. |
Border |
Province.getTransit(Location fromLoc,
Unit.Type unit,
Phase phase,
java.lang.Class orderClass)
Checks if unit can transit from a Location to this Province. |
boolean |
Position.hasUnit(Province province,
Unit.Type unitType)
Test if the given type of unit is contained in this Province. |
boolean |
Position.hasDislodgedUnit(Province province,
Unit.Type unitType)
Test if the given type of unit is contained in this Province. |
Location |
Location.getValidatedWithMove(Unit.Type unitType,
Location from)
This extends the simple validate method, be performing additional checking for move orders. |
Location |
Location.getValidatedAndDerived(Unit.Type unitType,
Unit existingUnit)
This extends the simple getValidated() method, by performing additional validation/checking given turnstate information. |
Location |
Location.getValidatedSetup(Unit.Type unitType)
This is mainly used for game setup (WorldFactory). |
Location |
Location.getValidated(Unit.Type unitType)
Simple Validate This is typically used for support destinations, e.g. |
boolean |
Border.canTransit(Location fromLoc,
Unit.Type unit,
Phase phase,
java.lang.Class orderClass)
Determines if a unit can transit from a location to this location. |
Constructors in dip.world with parameters of type Unit.Type | |
Unit(Power power,
Unit.Type unitType)
Creates a new Unit |
Uses of Unit.Type in dip.world.variant.data |
Methods in dip.world.variant.data that return Unit.Type | |
Unit.Type |
InitialState.getUnitType()
Type of unit |
Methods in dip.world.variant.data with parameters of type Unit.Type | |
void |
InitialState.setUnitType(Unit.Type value)
Sets the unit type. |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |