Summary description for ControllerManager.
Наследование: 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;
        }