Axiom.Core.Root.RemoveMovableObjectFactory C# (CSharp) Méthode

RemoveMovableObjectFactory() public méthode

Removes a previously registered MovableObjectFactory.
All instances of objects created by this factory will be destroyed before removing the factory (by calling back the factories 'DestroyInstance' method). The plugin writer is responsible for actually destroying the factory.
public RemoveMovableObjectFactory ( MovableObjectFactory fact ) : void
fact MovableObjectFactory The instance to remove.
Résultat void
		public void RemoveMovableObjectFactory( MovableObjectFactory fact )
		{
			if ( this.movableObjectFactoryMap.ContainsValue( fact ) )
			{
				this.movableObjectFactoryMap.Remove( fact.Type );
			}
		}