Summary description for ControllerManager.
Inheritance: DisposableObject
Beispiel #1
0
 /// <summary>
 ///     Internal constructor.  This class cannot be instantiated externally.
 /// </summary>
 internal ControllerManager()
 {
     if (instance == null)
     {
         instance = this;
     }
 }
		/// <summary>
		///     Internal constructor.  This class cannot be instantiated externally.
		/// </summary>
		internal ControllerManager()
			: base()
		{
			if ( instance == null )
			{
				instance = this;
			}
		}
Beispiel #3
0
 /// <summary>
 ///     Called when the engine is shutting down.
 /// </summary>
 protected override void dispose(bool disposeManagedResources)
 {
     if (!IsDisposed)
     {
         if (disposeManagedResources)
         {
             this.controllers.Clear();
             this.controllers = null;
             instance         = null;
         }
     }
     base.dispose(disposeManagedResources);
 }
		/// <summary>
		///     Called when the engine is shutting down.
		/// </summary>
		protected override void dispose( bool disposeManagedResources )
		{
			if ( !IsDisposed )
			{
				if ( disposeManagedResources )
				{
					this.controllers.Clear();
					this.controllers = null;
					instance = null;
				}
			}
			base.dispose( disposeManagedResources );
		}
Beispiel #5
0
        /// <summary>
        ///     Called when the engine is shutting down.
        /// </summary>
        public void Dispose()
        {
            controllers.Clear();

            instance = null;
        }