EntityComponentIdentifier Struct - NocturnalWisp/Tynted-Engine GitHub Wiki

Usage

This is used for registering components upon entities in batch. Representation of Entity name to Component relationship.

name (field)

Summary The name of the entity.

Type

  • string

component (field)

Summary The component to be attached to the entity.

Type

  • IComponent

Constructor

Summary Creates a new Entity Component Identifier.

Implementation

EntityComponentIdentifier(string entityName, IComponent component)

Vars

  • entityName - Name of the entity.
  • component - component attached to the entity.