GeneralizableAbility<ActionSpatialUnitCommand>
, Sc2ApiSerializable<SC2APIProtocol.Spatial.ActionSpatialUnitCommand>
, java.io.Serializable
public final class ActionSpatialUnitCommand extends java.lang.Object implements Sc2ApiSerializable<SC2APIProtocol.Spatial.ActionSpatialUnitCommand>, GeneralizableAbility<ActionSpatialUnitCommand>
Modifier and Type | Class | Description |
---|---|---|
static class |
ActionSpatialUnitCommand.Builder |
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(java.lang.Object o) |
|
static ActionSpatialUnitCommand |
from(SC2APIProtocol.Spatial.ActionSpatialUnitCommand sc2apiActionSpatialUnitCommand) |
|
ActionSpatialUnitCommand |
generalizeAbility(java.util.function.UnaryOperator<Ability> generalize) |
|
Ability |
getAbility() |
|
java.util.Optional<PointI> |
getTargetInMinimapCoord() |
|
java.util.Optional<PointI> |
getTargetInScreenCoord() |
|
int |
hashCode() |
|
boolean |
isQueued() |
|
SC2APIProtocol.Spatial.ActionSpatialUnitCommand |
toSc2Api() |
|
java.lang.String |
toString() |
|
static ActionSpatialUnitCommandSyntax |
unitCommand() |
public static ActionSpatialUnitCommandSyntax unitCommand()
public static ActionSpatialUnitCommand from(SC2APIProtocol.Spatial.ActionSpatialUnitCommand sc2apiActionSpatialUnitCommand)
public SC2APIProtocol.Spatial.ActionSpatialUnitCommand toSc2Api()
toSc2Api
in interface Sc2ApiSerializable<SC2APIProtocol.Spatial.ActionSpatialUnitCommand>
public Ability getAbility()
public java.util.Optional<PointI> getTargetInScreenCoord()
public java.util.Optional<PointI> getTargetInMinimapCoord()
public boolean isQueued()
public ActionSpatialUnitCommand generalizeAbility(java.util.function.UnaryOperator<Ability> generalize)
generalizeAbility
in interface GeneralizableAbility<ActionSpatialUnitCommand>
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.