string with styling that need to be applied for BBCodeTextObject
Primary style is required in order to escape BBCode styling properly.
the UiTheme
to get TextStyle for
Optional
forWindow: booleanset to true
if the text is to be displayed in a window (BattleScene.addWindow)
it will replace all instances of the default MONEY TextStyle by TextStyle.MONEY_WINDOW
Should only be used with BBCodeText (see]{}
()
) This does NOT work with UI showText() or showDialogue() methods. Method will do pattern match/replace and apply BBCode color/shadow styling to substrings within the content: @[Example: passing a content string of "@[SUMMARY_BLUE]{blue text} primaryStyle text @[SUMMARY_RED]{red text}" will result in: