private void Cleanup() { m_combo.Clear(); m_comboMove.Clear(); m_inputHappened = false; m_comboTimer = 0f; m_endTime = COMBO_TIMEOUT; }
/// <summary> /// Reads options out of the solution file. /// </summary> public void LoadOptions(Stream Stream) { using (BinaryReader Reader = new BinaryReader(Stream)) { List <string> CommandLines = new List <string>(); int Count = Reader.ReadInt32(); for (int CommandLineIdx = 0; CommandLineIdx < Count; CommandLineIdx++) { CommandLines.Add(Reader.ReadString()); } ComboList.Clear(); ComboList.AddRange(CommandLines.ToArray()); } }