Axiom.Core.Root.RemoveMovableObjectFactory C# (CSharp) Method

RemoveMovableObjectFactory() public method

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.
return void
		public void RemoveMovableObjectFactory( MovableObjectFactory fact )
		{
			if ( this.movableObjectFactoryMap.ContainsValue( fact ) )
			{
				this.movableObjectFactoryMap.Remove( fact.Type );
			}
		}