Class TagTargetCommand

java.lang.Object
megamek.client.bot.princess.commands.TagTargetCommand
All Implemented Interfaces:
ChatCommand

public class TagTargetCommand extends Object implements ChatCommand
Command to designate an enemy unit for the bot to put its TAG on, so a player's homing artillery has a known designation. The bot's TAG fire prefers a designated target when it is hittable, instead of choosing autonomously.
  • Constructor Details

    • TagTargetCommand

      public TagTargetCommand()
  • Method Details

    • defineArguments

      public List<Argument<?>> defineArguments()
      Description copied from interface: ChatCommand
      Define the arguments for the command.
      Specified by:
      defineArguments in interface ChatCommand
      Returns:
      List of arguments
    • execute

      public void execute(Princess princess, Arguments arguments)
      Description copied from interface: ChatCommand
      Execute the command.
      Specified by:
      execute in interface ChatCommand
      Parameters:
      princess - The bot
      arguments - The arguments for the command