private string renewPanelContent()
{
StringBuilder wrappedText = new StringBuilder();
wrappedText.Append(SunsetUtils.wordWrapText(interaction.name + ": " + current.line,
font, this.getWidth() - this.getXMargin() * 2));
List<MenuEntry> tempEntries = new List<MenuEntry>();
for (int i = 0; i < current.responses.Count; ++i)
{
var resp = current.responses[i];
tempEntries.Add(new DialogueEntry(SunsetUtils.wordWrapText(current.responses[i].line,
font, this.getWidth() - this.getXMargin() * 2)));
}
this.clearEntries();
this.loadEntries(tempEntries.ToArray());
this.hideEntries();
this.cursor = 0;
this.cursorArrow.updateCursor();
this.cursorArrow.setVisible(false);
this.scrollTextIndex = 2 + interaction.name.Length;
this.responseShowPauseTimer = 0.0f;
this.advanceArrowFlashTimer = 0.0f;
return wrappedText.ToString();
}