Show / Hide Table of Contents

    Interface ICreatureFactory

    Interface for an ICreature factory.

    Inherited Members
    IThingFactory.Create(IThingCreationArguments)
    Namespace: Fibula.Creatures.Contracts.Abstractions
    Assembly: Fibula.Creatures.Contracts.dll
    Syntax
    public interface ICreatureFactory : IThingFactory

    Methods

    | Improve this Doc View Source

    CreateCreature(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.

    Extension Methods

    ObjectExtensions.YieldSingleItem<T>(T)
    ObjectExtensions.GetPropertyValue(Object, String)
    Validate.ThrowIfNull(Object, String)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2018-2020 | The Fibula Project
    Generated using DocFX | Jose L. Nuñez de Caceres et al.