//public void AddTextParagraph2D(TextParagraph2D textParagraphToAdd) //{ // this.textParagraph2Ds.Add(textParagraphToAdd); // if (textParagraphToAdd is IHitRect) // { // this.textParagraphHitRect2Ds.Add(textParagraphToAdd as IHitRect); // } //} public void UpdateTextOfParagraph(int index, string id, params string[] parameters) { textParagraphFactory.CreateTextTokensIn(this.textParagraph2Ds[index], id, parameters); }