Summary description for ControllerManager.
Inheritance: DisposableObject
Esempio n. 1
0
 /// <summary>
 ///     Internal constructor.  This class cannot be instantiated externally.
 /// </summary>
 internal ControllerManager()
 {
     if (instance == null)
     {
         instance = this;
     }
 }
Esempio n. 2
0
		/// <summary>
		///     Internal constructor.  This class cannot be instantiated externally.
		/// </summary>
		internal ControllerManager()
			: base()
		{
			if ( instance == null )
			{
				instance = this;
			}
		}
Esempio n. 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);
 }
Esempio n. 4
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 );
		}
Esempio n. 5
0
        /// <summary>
        ///     Called when the engine is shutting down.
        /// </summary>
        public void Dispose()
        {
            controllers.Clear();

            instance = null;
        }