GeneralizableAbility<ActionSpatial>
, Sc2ApiSerializable<SC2APIProtocol.Spatial.ActionSpatial>
, java.io.Serializable
public final class ActionSpatial extends java.lang.Object implements Sc2ApiSerializable<SC2APIProtocol.Spatial.ActionSpatial>, GeneralizableAbility<ActionSpatial>
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(java.lang.Object o) |
|
static ActionSpatial |
from(SC2APIProtocol.Spatial.ActionSpatial sc2ApiActionSpatial) |
|
ActionSpatial |
generalizeAbility(java.util.function.UnaryOperator<Ability> generalize) |
|
java.util.Optional<ActionSpatialCameraMove> |
getCameraMove() |
|
java.util.Optional<ActionSpatialUnitCommand> |
getUnitCommand() |
|
java.util.Optional<ActionSpatialUnitSelectionPoint> |
getUnitSelectionPoint() |
|
java.util.Optional<ActionSpatialUnitSelectionRect> |
getUnitSelectionRect() |
|
int |
hashCode() |
|
static ActionSpatial |
of(ActionSpatialCameraMove cameraMove) |
|
static ActionSpatial |
of(ActionSpatialUnitCommand unitCommand) |
|
static ActionSpatial |
of(ActionSpatialUnitSelectionPoint unitSelectionPoint) |
|
static ActionSpatial |
of(ActionSpatialUnitSelectionRect unitSelectionRect) |
|
SC2APIProtocol.Spatial.ActionSpatial |
toSc2Api() |
|
java.lang.String |
toString() |
public static ActionSpatial of(ActionSpatialUnitCommand unitCommand)
public static ActionSpatial of(ActionSpatialCameraMove cameraMove)
public static ActionSpatial of(ActionSpatialUnitSelectionPoint unitSelectionPoint)
public static ActionSpatial of(ActionSpatialUnitSelectionRect unitSelectionRect)
public static ActionSpatial from(SC2APIProtocol.Spatial.ActionSpatial sc2ApiActionSpatial)
public SC2APIProtocol.Spatial.ActionSpatial toSc2Api()
toSc2Api
in interface Sc2ApiSerializable<SC2APIProtocol.Spatial.ActionSpatial>
public java.util.Optional<ActionSpatialUnitCommand> getUnitCommand()
public java.util.Optional<ActionSpatialCameraMove> getCameraMove()
public java.util.Optional<ActionSpatialUnitSelectionPoint> getUnitSelectionPoint()
public java.util.Optional<ActionSpatialUnitSelectionRect> getUnitSelectionRect()
public ActionSpatial generalizeAbility(java.util.function.UnaryOperator<Ability> generalize)
generalizeAbility
in interface GeneralizableAbility<ActionSpatial>
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2017–2018 Ocraft Project. All rights reserved.