Class AvoidCommand

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

public class AvoidCommand extends Object implements ChatCommand
  • Constructor Details

    • AvoidCommand

      public AvoidCommand()
  • 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