Interface HintsFragment.Hint

All Known Implementing Classes:
HintsFragment.DefaultHint
Enclosing class:
HintsFragment

public static interface HintsFragment.Hint
Hint interface for defining any sort of message appearing at the left.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    default void
    finishes the hint - it should not be shown again
    default boolean
     
    Hint name for preference storage.
    int
     
    boolean
     
    Displayed text.
    boolean
     
  • Field Details

  • Method Details

    • name

      String name()
      Hint name for preference storage.
    • text

      String text()
      Displayed text.
    • complete

      boolean complete()
      Returns:
      true if hint objective is complete
    • show

      boolean show()
      Returns:
      whether the hint is ready to be shown
    • order

      int order()
      Returns:
      order integer, determines priority
    • valid

      boolean valid()
      Returns:
      whether this hint should be processed, used for platform splits
    • finish

      default void finish()
      finishes the hint - it should not be shown again
    • finished

      default boolean finished()
      Returns:
      whether the hint is finished - if true, it should not be shown again