|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Unit | |
dip.gui.map | |
dip.gui.undo | |
dip.order | |
dip.world |
Uses of Unit in dip.gui.map |
Methods in dip.gui.map that return Unit | |
Unit |
DefaultMapRenderer2.Tracker.getUnit()
|
Unit |
DefaultMapRenderer2.Tracker.getDislodgedUnit()
|
Methods in dip.gui.map with parameters of type Unit | |
void |
EditControlBar.addUnit(Province province,
Unit unit,
boolean isDislodged)
Add a unit to a province; does not generate an undo/redo event. |
void |
DefaultMapRenderer2.Tracker.setUnit(Unit u)
|
void |
DefaultMapRenderer2.Tracker.setDislodgedUnit(Unit u)
|
void |
DefaultMapRenderer2.Tracker.setUnit(org.w3c.dom.svg.SVGElement el,
Unit unit)
|
void |
DefaultMapRenderer2.Tracker.setDislodgedUnit(org.w3c.dom.svg.SVGElement el,
Unit unit)
|
Uses of Unit in dip.gui.undo |
Constructors in dip.gui.undo with parameters of type Unit | |
UndoEditRemoveUnit(UndoRedoManager urm,
Position position,
Province province,
Unit unit,
boolean isDislodged)
|
|
UndoEditAddUnit(UndoRedoManager urm,
Position position,
Province province,
Unit unit,
boolean isDislodged)
|
Uses of Unit in dip.order |
Methods in dip.order with parameters of type Unit | |
protected void |
Order.validate(ValidationOptions valOpts,
Unit unit)
Validates a dislodged or non-dislodged unit, depending upon what type of unit is specified |
protected Unit.Type |
Order.getValidatedUnitType(Province province,
Unit.Type unitType,
Unit unit)
Convenience method for matching unit types. |
Uses of Unit in dip.world |
Methods in dip.world that return Unit | |
Unit |
Position.getUnit(Province province)
Get the unit contained in this Province. |
Unit |
Position.getDislodgedUnit(Province province)
Get the dislodged unit in this Province. |
Methods in dip.world with parameters of type Unit | |
void |
Position.setUnit(Province province,
Unit unit)
Set the unit contained in this province; null to eliminate an existing unit. |
void |
Position.setDislodgedUnit(Province province,
Unit unit)
Set the dislodged unit contained in this province; null to eliminate an existing unit. |
protected boolean |
Path.AnyConvoyPathEvaluator.evalFleet(Province province,
Unit unit)
|
Location |
Location.getValidatedAndDerived(Unit.Type unitType,
Unit existingUnit)
This extends the simple getValidated() method, by performing additional validation/checking given turnstate information. |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |