BuilderSyntax<RequestCreateGame>
, DisableFogSyntax
, RealtimeSyntax
, RequestCreateGameSyntax
, WithPlayerSetupSyntax
, WithRandomSeedSyntax
public static final class RequestCreateGame.Builder extends java.lang.Object implements RequestCreateGameSyntax, WithPlayerSetupSyntax, DisableFogSyntax, RealtimeSyntax, WithRandomSeedSyntax
Constructor | Description |
---|---|
Builder() |
Modifier and Type | Method | Description |
---|---|---|
RequestCreateGame |
build() |
|
RealtimeSyntax |
disableFog() |
|
WithPlayerSetupSyntax |
onBattlenetMap(BattlenetMap battlenetMap) |
|
WithPlayerSetupSyntax |
onLocalMap(LocalMap localMap) |
|
WithRandomSeedSyntax |
realTime() |
|
WithRandomSeedSyntax |
realTime(boolean value) |
|
DisableFogSyntax |
withPlayerSetup(PlayerSetup... playerSetups) |
|
BuilderSyntax<RequestCreateGame> |
withRandomSeed(int randomSeed) |
public WithPlayerSetupSyntax onBattlenetMap(BattlenetMap battlenetMap)
onBattlenetMap
in interface RequestCreateGameSyntax
public WithPlayerSetupSyntax onLocalMap(LocalMap localMap)
onLocalMap
in interface RequestCreateGameSyntax
public DisableFogSyntax withPlayerSetup(PlayerSetup... playerSetups)
withPlayerSetup
in interface WithPlayerSetupSyntax
public RealtimeSyntax disableFog()
disableFog
in interface DisableFogSyntax
public WithRandomSeedSyntax realTime()
realTime
in interface RealtimeSyntax
public WithRandomSeedSyntax realTime(boolean value)
realTime
in interface RealtimeSyntax
public BuilderSyntax<RequestCreateGame> withRandomSeed(int randomSeed)
withRandomSeed
in interface WithRandomSeedSyntax
public RequestCreateGame build()
build
in interface BuilderSyntax<RequestCreateGame>
Copyright © 2017–2018 Ocraft Project. All rights reserved.