public static void Initialize(Func <string, bool> isTranslatable) { RichTextParser = new RichTextParser(); GameLogTextParser = new GameLogTextParser(isTranslatable); }
public static void Initialize(TextTranslationCache cache, Func <string, int, bool> isTranslatable) { RichTextParser = new RichTextParser(); RegexSplittingTextParser = new RegexSplittingTextParser(cache); GameLogTextParser = new GameLogTextParser(isTranslatable); }
public static void Initialize() { RichTextParser = new RichTextParser(); RegexSplittingTextParser = new RegexSplittingTextParser(); GameLogTextParser = new GameLogTextParser(); }