Show / Hide Table of Contents

    Interface IEntityData

    Where IData defines data that should be serialized and later loaded, IEntityData adds a definition that this data will be the data model to a IEntity.

    An IEntityData may have it's own raw data or be a group of Ids to load that, together, provide the data required by the IEntitymade in CreateEntity().

    Namespace: IdleKit.Gameplay
    Assembly: cs.temp.dll.dll
    Syntax
    public interface IEntityData : IData
    Examples

    See IGeneratorData implementations for an example of multiple IData collected by an IEntityData. See IContentData implementations for an example of only raw data used by an IEntityData. See ICurrencyData implementations for an example of both.

    Methods

    CreateEntity()

    Create an IEntity based on the IEntityData referenced by this IEntityData.

    Declaration
    IEntity CreateEntity()
    Returns
    Type Description
    IEntity
    Back to top Copyright © 2020 East Side Games Inc.