BuilderSyntax<DebugCreateUnit>
, DebugCreateUnitBuilder
, DebugCreateUnitSyntax
, ForPlayerSyntax
, UnitPositionSyntax
, WithQuantitySyntax
public static final class DebugCreateUnit.Builder extends java.lang.Object implements DebugCreateUnitSyntax, ForPlayerSyntax, UnitPositionSyntax, WithQuantitySyntax, DebugCreateUnitBuilder
Constructor | Description |
---|---|
Builder() |
Modifier and Type | Method | Description |
---|---|---|
DebugCreateUnit |
build() |
|
UnitPositionSyntax |
forPlayer(int owner) |
|
ForPlayerSyntax |
ofType(UnitType type) |
|
WithQuantitySyntax |
on(Point2d position) |
|
DebugCreateUnitBuilder |
withQuantity(int quantity) |
public ForPlayerSyntax ofType(UnitType type)
ofType
in interface DebugCreateUnitSyntax
public UnitPositionSyntax forPlayer(int owner)
forPlayer
in interface ForPlayerSyntax
public WithQuantitySyntax on(Point2d position)
on
in interface UnitPositionSyntax
public DebugCreateUnitBuilder withQuantity(int quantity)
withQuantity
in interface WithQuantitySyntax
public DebugCreateUnit build()
build
in interface BuilderSyntax<DebugCreateUnit>
Copyright © 2017–2018 Ocraft Project. All rights reserved.