Package com.deco2800.game.utils
Class TextUtil
java.lang.Object
com.deco2800.game.utils.TextUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic com.badlogic.gdx.scenes.scene2d.ui.Label
createTextLabel
(String text, int textColour, float fontSize) static String
lineFormat
(String labelContent, int numberPerLine)
-
Constructor Details
-
TextUtil
public TextUtil()
-
-
Method Details
-
lineFormat
-
createTextLabel
public static com.badlogic.gdx.scenes.scene2d.ui.Label createTextLabel(String text, int textColour, float fontSize)
-