Interface ChatCommand

All Known Implementing Classes:
AddWaypointCommand, AeroFocusCommand, AeroLiftCommand, AggressionCommand, ArtilleryCommand, AvoidCommand, BehaviorCommand, BloodFeudCommand, BraveryCommand, CautionCommand, ClearAllWaypointsCommand, ClearIgnoredTargetsCommand, ClearWaypointsCommand, FleeCommand, HoldPositionCommand, IgnorePlayerCommand, IgnoreTargetCommand, IgnoreTurretsCommand, ListCommands, MutualSupportCommand, PostureCommand, PriorityTargetCommand, RadioChatterCommand, RemoveWaypointCommand, ScootToHexCommand, SetWaypointsCommand, ShootAndScootCommand, ShowBehaviorCommand, ShowDishonoredCommand, TagTargetCommand, TargetGroundCommand

public interface ChatCommand
Interface for chat commands for the bot.
  • Field Details

  • Method Details

    • defineArguments

      default List<Argument<?>> defineArguments()
      Define the arguments for the command.
      Returns:
      List of arguments
    • execute

      void execute(Princess princess, Arguments arguments)
      Execute the command.
      Parameters:
      princess - The bot
      arguments - The arguments for the command
    • quietArgument

      default BooleanArgument quietArgument()
      Get instance of a common argument to keep princess quiet while executing the commands.
      Returns:
      BooleanArgument to keep princess quiet
    • getArgumentsRepresentation

      default String getArgumentsRepresentation()
      Get the arguments' representation.
      Returns:
      String with the arguments representation
    • getArgumentsDescription

      default String getArgumentsDescription()