Interface CostPalette.Listener

Enclosing class:
CostPalette

public static interface CostPalette.Listener
Listener notified when the user picks (or cancels).
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    costFunctionPicked(SNT.CostType chosen, Path chosenPath)
    User picked a CostType; chosenPath is the corresponding A* result.
    default void
    User dismissed without picking.
  • Method Details

    • costFunctionPicked

      void costFunctionPicked(SNT.CostType chosen, Path chosenPath)
      User picked a CostType; chosenPath is the corresponding A* result.
    • dismissed

      default void dismissed()
      User dismissed without picking.