Package mindustry.ui.fragments
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
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
-
Method Summary
-
Field Details
-
visibleDesktop
static final int visibleDesktop- See Also:
-
visibleMobile
static final int visibleMobile- See Also:
-
visibleAll
static final int visibleAll- See Also:
-
-
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
-