Skip to content

Latest commit

 

History

History
36 lines (26 loc) · 2.3 KB

IRelation_TKey_.md

File metadata and controls

36 lines (26 loc) · 2.3 KB

IRelation Interface

A relation enables adding multiple components of the same type to an entity.
The components added to a single entity build a set of components using the relation TKey as unique identifier.

public interface IRelation<out TKey> :
Friflo.Engine.ECS.IRelation

Type parameters

TKey

The key defining a unique relation.

Derived
ILinkRelation

Implements IRelation

Remarks

A relation enables:

Methods
GetRelationKey() Returns the key of a unique relation.