Interface DoubleActionTraceTool

All Superinterfaces:
Tool, TraceTool
All Known Implementing Classes:
BrushTool, DistanceWand, InspectBrush, LongRangeBuildTool, NavigationWand

public interface DoubleActionTraceTool extends TraceTool
Represents a trace tool that also has a secondary/primary function.
  • Method Details

    • actSecondary

      boolean actSecondary(Platform server, LocalConfiguration config, Player player, LocalSession session)
      Perform the secondary function of this tool.
      Parameters:
      server - The platform
      config - The config instance
      player - The player
      session - The local session
      Returns:
      true to cancel the original event which triggered this action (if possible)