Class Archetype<TSelf, TParent>
CRTP base class for archetypes with a parent. Inherited components get lower slot indices (parent-first ordering). Single parent only — no diamond inheritance.
public abstract class Archetype<TSelf, TParent> : Archetype<TSelf> where TSelf : Archetype<TSelf, TParent> where TParent : class
Type Parameters
TSelfThe concrete archetype type.
TParentThe parent archetype type.
- Inheritance
-
Archetype<TSelf>Archetype<TSelf, TParent>
- Inherited Members
Constructors
Archetype()
protected Archetype()