Interface BotInterface
public interface BotInterface
-
Method Summary
Modifier and TypeMethodDescriptionGet the local bot configuration.void
processTick
(PublicGameWorld world) Process a tick.void
setup
(PublicGameWorld world) Set up the bot.
-
Method Details
-
getLocalBotConfig
LocalBotConfig getLocalBotConfig()Get the local bot configuration. The local bot configuration is used to determine the bot's name and tank type when connecting to the game. It can not be changed after the game has started.- Returns:
- the local bot configuration
-
setup
Set up the bot. Gets called once at the start of the game.- Parameters:
world
- The game world.
-
processTick
Process a tick. Gets called every tick. Should be used to schedule commands, like moving or shooting.- Parameters:
world
- The game world.
-