Package mindustry.ui.fragments
Enum Class HintsFragment.DefaultHint
- All Implemented Interfaces:
Serializable,Comparable<HintsFragment.DefaultHint>,Constable,HintsFragment.Hint
- Enclosing class:
- HintsFragment
public static enum HintsFragment.DefaultHint
extends Enum<HintsFragment.DefaultHint>
implements HintsFragment.Hint
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Field Summary
Fields inherited from interface mindustry.ui.fragments.HintsFragment.Hint
visibleAll, visibleDesktop, visibleMobile -
Method Summary
Modifier and TypeMethodDescriptionbooleancomplete()voidfinish()finishes the hint - it should not be shown againbooleanfinished()intorder()booleanshow()text()Displayed text.booleanvalid()static HintsFragment.DefaultHintReturns the enum constant of this class with the specified name.static HintsFragment.DefaultHint[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface mindustry.ui.fragments.HintsFragment.Hint
name
-
Enum Constant Details
-
desktopMove
-
zoom
-
breaking
-
desktopShoot
-
depositItems
-
desktopPause
-
unitControl
-
unitSelectControl
-
respawn
-
launch
-
schematicSelect
-
conveyorPathfind
-
boost
-
blockInfo
-
derelict
-
payloadPickup
-
payloadDrop
-
waveFire
-
generator
-
rebuildSelect
-
guardian
-
cannotUpgrade
-
factoryControl
-
coreUpgrade
-
presetLaunch
-
presetDifficulty
-
coreIncinerate
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
finished
public boolean finished()- Specified by:
finishedin interfaceHintsFragment.Hint- Returns:
- whether the hint is finished - if true, it should not be shown again
-
finish
public void finish()Description copied from interface:HintsFragment.Hintfinishes the hint - it should not be shown again- Specified by:
finishin interfaceHintsFragment.Hint
-
text
Description copied from interface:HintsFragment.HintDisplayed text.- Specified by:
textin interfaceHintsFragment.Hint
-
complete
public boolean complete()- Specified by:
completein interfaceHintsFragment.Hint- Returns:
- true if hint objective is complete
-
show
public boolean show()- Specified by:
showin interfaceHintsFragment.Hint- Returns:
- whether the hint is ready to be shown
-
order
public int order()- Specified by:
orderin interfaceHintsFragment.Hint- Returns:
- order integer, determines priority
-
valid
public boolean valid()- Specified by:
validin interfaceHintsFragment.Hint- Returns:
- whether this hint should be processed, used for platform splits
-