private static void Clear() { Player = null; Items.Clear(); Mobiles.Clear(); party = new Serial[10]; movementQueue.Clear(); Cleared.Raise(); }
private void RemoteTargetCallStackClear() { // Fire clearing event Clearing.Raise(this, EventArgs.Empty); // Reset CurrentStackLevel = 0; // Clear call stack window m_callStackEditor.View = null; // Remote items from the collection if (m_callStackCollection != null) { m_callStackCollection.CallStack.Clear(); } // Rebind with a context m_callStackEditor.View = m_callStackCollection; // Fire cleared event Cleared.Raise(this, EventArgs.Empty); }