Table of Contents

Class Archetype<TSelf, TParent>

Namespace
Typhon.Engine
Assembly
Typhon.Engine.dll

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

TSelf

The concrete archetype type.

TParent

The parent archetype type.

Inheritance
Archetype<TSelf>
Archetype<TSelf, TParent>
Inherited Members

Constructors

Archetype()

protected Archetype()