Class HighlightedString
java.lang.Object
me.despical.commons.scoreboard.common.animation.FrameAnimatedString
me.despical.commons.scoreboard.common.animation.HighlightedString
- All Implemented Interfaces:
AnimatableString
- Author:
- Despical
Created at 22.05.2021
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Stringprotected final Stringprotected final Stringprotected final Stringprotected final StringFields inherited from class me.despical.commons.scoreboard.common.animation.FrameAnimatedString
currentFrame, frames -
Constructor Summary
ConstructorsConstructorDescriptionHighlightedString(String context, String normalFormat, String highlightFormat) HighlightedString(String context, String normalFormat, String highlightFormat, String prefix, String suffix) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidMethods inherited from class me.despical.commons.scoreboard.common.animation.FrameAnimatedString
addFrame, current, getCurrentFrame, getString, getTotalLength, next, previous, removeFrame, setCurrentFrame, setFrame
-
Field Details
-
context
-
normalFormat
-
highlightFormat
-
prefix
-
suffix
-
-
Constructor Details
-
HighlightedString
-
HighlightedString
-
-
Method Details
-
generateFrames
protected void generateFrames() -
getContext
-
getNormalColor
-
getHighlightColor
-
getPrefix
-
getSuffix
-