Interface ICreatureFactory
Interface for an ICreature factory.
Inherited Members
Namespace: Fibula.Creatures.Contracts.Abstractions
Assembly: Fibula.Creatures.Contracts.dll
Syntax
public interface ICreatureFactory : IThingFactory
Methods
| Improve this Doc View SourceCreateCreature(IThingCreationArguments)
Creates a new implementation instance of ICreature depending on the chosen type.
Declaration
ICreature CreateCreature(IThingCreationArguments creationArguments)
Parameters
| Type | Name | Description |
|---|---|---|
| IThingCreationArguments | creationArguments | The creation arguments for the new creature. |
Returns
| Type | Description |
|---|---|
| ICreature | A new instance of the chosen ICreature implementation. |