Table of Contents

Delegate EntityAction<T1, T2, T3, T4>

Namespace
KeenEyes
Assembly
KeenEyes.Core.dll

Delegate for processing an entity with four components.

public delegate void EntityAction<T1, T2, T3, T4>(Entity entity, ref T1 c1, ref T2 c2, ref T3 c3, ref T4 c4) where T1 : struct, IComponent where T2 : struct, IComponent where T3 : struct, IComponent where T4 : struct, IComponent

Parameters

entity Entity

The entity being processed.

c1 T1

A reference to the first component instance.

c2 T2

A reference to the second component instance.

c3 T3

A reference to the third component instance.

c4 T4

A reference to the fourth component instance.

Type Parameters

T1

First component type.

T2

Second component type.

T3

Third component type.

T4

Fourth component type.