BuilderSyntax<ActionRawUnitCommand>
, ActionRawUnitCommandBuilder
, ActionRawUnitCommandSyntax
, QueuedSyntax
, TargetSyntax
, UseAbilitySyntax
public static final class ActionRawUnitCommand.Builder extends java.lang.Object implements ActionRawUnitCommandSyntax, UseAbilitySyntax, TargetSyntax, QueuedSyntax
Constructor | Description |
---|---|
Builder() |
Modifier and Type | Method | Description |
---|---|---|
ActionRawUnitCommand |
build() |
|
UseAbilitySyntax |
forUnits(Tag... units) |
|
UseAbilitySyntax |
forUnits(Unit... units) |
|
UseAbilitySyntax |
forUnits(java.util.Collection<Tag> units) |
|
ActionRawUnitCommandBuilder |
queued() |
|
ActionRawUnitCommandBuilder |
queued(boolean value) |
|
QueuedSyntax |
target(Point2d worldPosition) |
|
QueuedSyntax |
target(Tag unitTag) |
|
TargetSyntax |
useAbility(Ability ability) |
public UseAbilitySyntax forUnits(Unit... units)
forUnits
in interface ActionRawUnitCommandSyntax
public UseAbilitySyntax forUnits(java.util.Collection<Tag> units)
forUnits
in interface ActionRawUnitCommandSyntax
public UseAbilitySyntax forUnits(Tag... units)
forUnits
in interface ActionRawUnitCommandSyntax
public TargetSyntax useAbility(Ability ability)
useAbility
in interface UseAbilitySyntax
public QueuedSyntax target(Tag unitTag)
target
in interface TargetSyntax
public QueuedSyntax target(Point2d worldPosition)
target
in interface TargetSyntax
public ActionRawUnitCommandBuilder queued()
queued
in interface QueuedSyntax
public ActionRawUnitCommandBuilder queued(boolean value)
queued
in interface QueuedSyntax
public ActionRawUnitCommand build()
build
in interface BuilderSyntax<ActionRawUnitCommand>
Copyright © 2017–2018 Ocraft Project. All rights reserved.