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

            instance = null;
        }