string m_typewriterText; // text to build towards during typewriter mode //initialize the class //since nothing can be done until a file is loaded, //all that needs to be done is for the static array to be created //according to the specified value for maxLinesToShow public DlgManager() { if (GameKeys == null) { GameKeys = new JosscriptGameKeys(); } State = DlgState.Inactive; linesToShow = new string[maxLinesToShow]; lines = new List <JossData> (); actors = new List <JossData> (); event_data = new Josscript(); event_data.AddNode("DlgEvent", "DlgManager Version=" + DlgManager_version); event_data.AddNode("EventDetails"); }
int startAtIncrement = -1; // if continuing a dialogue turn, skip the previous text #endregion Fields #region Constructors //initialize the class //since nothing can be done until a file is loaded, //all that needs to be done is for the static array to be created //according to the specified value for maxLinesToShow public DlgManager() { if (GameKeys == null) GameKeys = new JosscriptGameKeys(); State = DlgState.Inactive; linesToShow = new string[maxLinesToShow]; lines = new List<JossData> (); actors = new List<JossData> (); event_data = new Josscript(); event_data.AddNode("DlgEvent", "DlgManager Version="+DlgManager_version); event_data.AddNode("EventDetails"); }