/// <summary> /// Displays a localized help message in the top corner of the screen infinitely. /// </summary> /// <param name="entry">Name of the entry.</param> /// <param name="duration"> /// The duration how long the help text will be displayed in real time (not in game time which is influenced by game speed). /// if the value is not positive, the help text will be displayed for 7.5 seconds. /// </param> /// <param name="beep">Whether to play beeping sound.</param> /// <param name="looped">Whether to show this help message forever.</param> public void ShowHelp(string entry, int duration = -1, bool beep = true, bool looped = false) { Screen.ShowHelpText(GetLocalizedText(entry), duration, beep, looped); }
public void ShowHelp(string entry, bool beep, params object[] values) { Screen.ShowHelpText(string.Format(GetLocalizedText(entry), values), -1, beep); }
public void ShowHelp(string entry, int duration = -1, bool beep = true, bool looped = false, params object[] values) { Screen.ShowHelpText(string.Format(GetLocalizedText(entry), values), duration, beep, looped); }