Interface BotInterface


public interface BotInterface
  • 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

      void setup(PublicGameWorld world)
      Set up the bot. Gets called once at the start of the game.
      Parameters:
      world - The game world.
    • processTick

      void processTick(PublicGameWorld world)
      Process a tick. Gets called every tick. Should be used to schedule commands, like moving or shooting.
      Parameters:
      world - The game world.