public class BWClient extends Object
Constructor and Description |
---|
BWClient(BWEventListener eventListener) |
Modifier and Type | Method and Description |
---|---|
int |
framesBehind() |
BWClientConfiguration |
getConfiguration() |
Game |
getGame()
Get the
Game instance of the currently running game. |
PerformanceMetrics |
getPerformanceMetrics() |
void |
startGame()
Start the game with default settings.
|
void |
startGame(boolean autoContinue)
Deprecated.
|
void |
startGame(BWClientConfiguration gameConfiguration)
Start the game.
|
public BWClient(BWEventListener eventListener)
public Game getGame()
Game
instance of the currently running game.
When running in asynchronous mode, this is the game from the bot's perspective, eg. potentially a previous frame.public PerformanceMetrics getPerformanceMetrics()
public BWClientConfiguration getConfiguration()
public int framesBehind()
public void startGame()
@Deprecated public void startGame(boolean autoContinue)
autoContinue
- automatically continue playing the next game(s). false by defaultpublic void startGame(BWClientConfiguration gameConfiguration)
gameConfiguration
- Settings for playing games with this client.Copyright © 2022. All rights reserved.