BuilderSyntax<RequestCreateGame>, DisableFogSyntax, RealtimeSyntax, RequestCreateGameSyntax, WithPlayerSetupSyntax, WithRandomSeedSyntaxpublic 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 RequestCreateGameSyntaxpublic WithPlayerSetupSyntax onLocalMap(LocalMap localMap)
onLocalMap in interface RequestCreateGameSyntaxpublic DisableFogSyntax withPlayerSetup(PlayerSetup... playerSetups)
withPlayerSetup in interface WithPlayerSetupSyntaxpublic RealtimeSyntax disableFog()
disableFog in interface DisableFogSyntaxpublic WithRandomSeedSyntax realTime()
realTime in interface RealtimeSyntaxpublic WithRandomSeedSyntax realTime(boolean value)
realTime in interface RealtimeSyntaxpublic BuilderSyntax<RequestCreateGame> withRandomSeed(int randomSeed)
withRandomSeed in interface WithRandomSeedSyntaxpublic RequestCreateGame build()
build in interface BuilderSyntax<RequestCreateGame>Copyright © 2017–2018 Ocraft Project. All rights reserved.