Modifier and Type | Method | Description |
---|---|---|
ActionFeatureLayerInterface |
ActionFeatureLayerInterface.cameraMove(PointI center) |
Moves the camera to be centered around a position.
|
ObserverActionInterface |
ObserverActionInterface.cameraMove(PointI point,
float distance) |
Moves the observer camera to a target location.
|
DebugInterface |
DebugInterface.debugCreateUnit(UnitType unitType,
PointI p,
int playerId,
int count) |
|
DebugInterface |
DebugInterface.debugMoveCamera(PointI pos) |
|
ActionFeatureLayerInterface |
ActionFeatureLayerInterface.select(PointI center,
ActionSpatialUnitSelectionPoint.Type selectionType) |
Selection of a point, equivalent to clicking the mouse on a unit.
|
ActionFeatureLayerInterface |
ActionFeatureLayerInterface.select(PointI p0,
PointI p1,
boolean addToSelection) |
Selection of an area, equivalent to click-dragging the mouse over an area of the screen.
|
ActionFeatureLayerInterface |
ActionFeatureLayerInterface.unitCommand(Ability ability,
PointI point,
boolean minimap) |
Issues a command to whatever is selected.
|
Modifier and Type | Method | Description |
---|---|---|
PointI |
ActionSpatialCameraMove.getCenterInMinimap() |
|
PointI |
ActionSpatialUnitSelectionPoint.getSelectionInScreenCoord() |
Modifier and Type | Method | Description |
---|---|---|
java.util.Optional<PointI> |
ActionSpatialUnitCommand.getTargetInMinimapCoord() |
|
java.util.Optional<PointI> |
ActionSpatialUnitCommand.getTargetInScreenCoord() |
Modifier and Type | Method | Description |
---|---|---|
WithModeSyntax |
ActionSpatialUnitSelectionPoint.Builder.on(PointI pointOnScreen) |
|
QueuedSyntax |
ActionSpatialUnitCommand.Builder.onMinimap(PointI targetOnMinimap) |
|
QueuedSyntax |
ActionSpatialUnitCommand.Builder.onScreen(PointI targetOnScreen) |
|
ActionSpatialCameraMoveBuilder |
ActionSpatialCameraMove.Builder.to(PointI pointOnMinimap) |
Modifier and Type | Method | Description |
---|---|---|
PointI |
ResponseGameInfo.convertWorldToCamera(Point2d cameraWorld,
Point2d world) |
|
PointI |
ResponseGameInfo.convertWorldToMinimap(Point2d world) |
|
PointI |
ResponseGameInfo.findCenterOfMap() |
Modifier and Type | Method | Description |
---|---|---|
PointI |
PointI.add(PointI pointToAdd) |
|
PointI |
PointI.div(int divBy) |
|
static PointI |
PointI.from(SC2APIProtocol.Common.PointI sc2ApiPointI) |
|
PointI |
RectangleI.getP0() |
|
PointI |
RectangleI.getP1() |
|
PointI |
PointI.mul(int mulBy) |
|
static PointI |
PointI.of(int x,
int y) |
|
PointI |
PointI.sub(PointI pointToSubtract) |
Modifier and Type | Method | Description |
---|---|---|
PointI |
PointI.add(PointI pointToAdd) |
|
double |
PointI.distance(PointI b) |
|
int |
PointI.dot(PointI b) |
|
static RectangleI |
RectangleI.of(PointI p0,
PointI p1) |
|
PointI |
PointI.sub(PointI pointToSubtract) |
Modifier and Type | Method | Description |
---|---|---|
WithModeSyntax |
ActionSpatialUnitSelectionPointSyntax.on(PointI pointOnScreen) |
|
QueuedSyntax |
TargetSyntax.onMinimap(PointI targetOnMinimap) |
|
QueuedSyntax |
TargetSyntax.onScreen(PointI targetOnScreen) |
|
ActionSpatialCameraMoveBuilder |
ActionSpatialCameraMoveSyntax.to(PointI pointOnMinimap) |
Copyright © 2017–2018 Ocraft Project. All rights reserved.