| Package | Description |
|---|---|
| pl.joegreen.sergeants.framework | |
| pl.joegreen.sergeants.framework.user |
| Modifier and Type | Method and Description |
|---|---|
static List<GameResult> |
Games.play(int games,
Function<Actions,Bot> botProvider,
QueueConfiguration queueConfiguration,
UserConfiguration userConfiguration) |
static CompletableFuture<List<GameResult>> |
Games.playAsynchronously(int games,
Function<Actions,Bot> botProvider,
QueueConfiguration queueConfiguration,
UserConfiguration userConfiguration) |
static CompletableFuture<List<GameResult>> |
Games.playAsynchronouslyWithCustomApi(GeneralsApi api,
int games,
Function<Actions,Bot> botProvider,
QueueConfiguration queueConfiguration,
UserConfiguration userConfiguration) |
| Modifier and Type | Method and Description |
|---|---|
static UserConfiguration |
UserConfiguration.idAndName(String id,
String name)
Use when you want to set the name for the given ID.
|
static UserConfiguration |
UserConfiguration.onlyUserId(String id)
Use when name for that ID is already set or you want to remain anonymous.
|
static UserConfiguration |
UserConfiguration.random()
Equal to
idAndName(String, String) but creates a random ID and name. |
Copyright © 2017. All rights reserved.