collectBot method

void collectBot(
  1. Bot bot
)

Collect a bot into the collector.

  • {bot} is the bot instance to be collected.

Only one bot can be collected at a time. If you collect another bot, the previous one will be replaced. If you want to collect more than one bot, you can use the collectOther method.

Implementation

void collectBot(Bot bot) {
  _bot = bot;
}