GeneralizableAbility<ActionRawUnitCommand>
, Sc2ApiSerializable<SC2APIProtocol.Raw.ActionRawUnitCommand>
, java.io.Serializable
public final class ActionRawUnitCommand extends java.lang.Object implements Sc2ApiSerializable<SC2APIProtocol.Raw.ActionRawUnitCommand>, GeneralizableAbility<ActionRawUnitCommand>
Modifier and Type | Class | Description |
---|---|---|
static class |
ActionRawUnitCommand.Builder |
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(java.lang.Object o) |
|
static ActionRawUnitCommand |
from(SC2APIProtocol.Raw.ActionRawUnitCommand sc2ApiActionRawUnitCommand) |
|
ActionRawUnitCommand |
generalizeAbility(java.util.function.UnaryOperator<Ability> generalize) |
|
Ability |
getAbility() |
|
java.util.Optional<Tag> |
getTargetedUnitTag() |
|
java.util.Optional<Point2d> |
getTargetedWorldSpacePosition() |
|
java.util.Set<Tag> |
getUnitTags() |
|
int |
hashCode() |
|
boolean |
isQueued() |
|
SC2APIProtocol.Raw.ActionRawUnitCommand |
toSc2Api() |
|
java.lang.String |
toString() |
|
static ActionRawUnitCommandSyntax |
unitCommand() |
public static ActionRawUnitCommandSyntax unitCommand()
public static ActionRawUnitCommand from(SC2APIProtocol.Raw.ActionRawUnitCommand sc2ApiActionRawUnitCommand)
public SC2APIProtocol.Raw.ActionRawUnitCommand toSc2Api()
toSc2Api
in interface Sc2ApiSerializable<SC2APIProtocol.Raw.ActionRawUnitCommand>
public Ability getAbility()
public java.util.Optional<Tag> getTargetedUnitTag()
public java.util.Optional<Point2d> getTargetedWorldSpacePosition()
public java.util.Set<Tag> getUnitTags()
public boolean isQueued()
public ActionRawUnitCommand generalizeAbility(java.util.function.UnaryOperator<Ability> generalize)
generalizeAbility
in interface GeneralizableAbility<ActionRawUnitCommand>
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.