Interface IEntityData
Where IStaticData 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(String).
Inherited Members
Namespace: IdleKit.Framework
Assembly: cs.temp.dll.dll
Syntax
public interface IEntityData : IStaticData
Examples
See IGeneratorData implementations for an example of multiple IStaticData 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(String)
Create an IEntity based on the IEntityData referenced by this IEntityData.
Declaration
IEntity CreateEntity(string instanceId)
Parameters
Type | Name | Description |
---|---|---|
String | instanceId |
Returns
Type | Description |
---|---|
IEntity |