Strata - v1.4.10
    Preparing search index...

    Interface Archetype<T>

    Archetype definition for common entity patterns.

    interface Archetype<T extends BaseEntity> {
        components: (keyof T)[];
        name: string;
        tags?: string[];
    }

    Type Parameters

    Index

    Properties

    Properties

    components: (keyof T)[]

    List of component keys that define this archetype.

    name: string

    Unique name for the archetype.

    tags?: string[]

    Optional tags for filtering archetypes.