public class ExtendingCuboidRegionSelector extends CuboidRegionSelector
pos1, pos2, region| Constructor and Description |
|---|
ExtendingCuboidRegionSelector(LocalWorld world) |
ExtendingCuboidRegionSelector(LocalWorld world,
Vector pos1,
Vector pos2) |
ExtendingCuboidRegionSelector(RegionSelector oldSelector) |
| Modifier and Type | Method and Description |
|---|---|
void |
explainPrimarySelection(LocalPlayer player,
LocalSession session,
Vector pos)
Tell the player information about his/her primary selection.
|
void |
explainSecondarySelection(LocalPlayer player,
LocalSession session,
Vector pos)
Tell the player information about his/her secondary selection.
|
boolean |
selectPrimary(Vector pos)
Called when the first point is selected.
|
boolean |
selectSecondary(Vector pos)
Called when the second point is selected.
|
clear, describeCUI, describeLegacyCUI, explainRegionAdjust, getArea, getIncompleteRegion, getInformationLines, getLegacyTypeID, getPrimaryPosition, getProtocolVersion, getRegion, getTypeID, getTypeName, isDefined, learnChangespublic ExtendingCuboidRegionSelector(LocalWorld world)
public ExtendingCuboidRegionSelector(RegionSelector oldSelector)
public ExtendingCuboidRegionSelector(LocalWorld world, Vector pos1, Vector pos2)
public boolean selectPrimary(Vector pos)
RegionSelectorselectPrimary in interface RegionSelectorselectPrimary in class CuboidRegionSelectorpublic boolean selectSecondary(Vector pos)
RegionSelectorselectSecondary in interface RegionSelectorselectSecondary in class CuboidRegionSelectorpublic void explainPrimarySelection(LocalPlayer player, LocalSession session, Vector pos)
RegionSelectorexplainPrimarySelection in interface RegionSelectorexplainPrimarySelection in class CuboidRegionSelectorpublic void explainSecondarySelection(LocalPlayer player, LocalSession session, Vector pos)
RegionSelectorexplainSecondarySelection in interface RegionSelectorexplainSecondarySelection in class CuboidRegionSelectorCopyright © 2010-2014. All Rights Reserved.