@tusss/ood
    Preparing search index...

    Class FactoryMaterial<T>Abstract

    Abstract base class representing a material used by a factory to create products.

    Each material must have a distinct type associated with it, which is used by the FactoryDirector to dispatch the material to the correct factory.

    Type Parameters

    • T extends string = string

      The type constraint for the material's type identifier, defaulting to string.

    Index

    Constructors

    Properties

    Constructors

    • Type Parameters

      • T extends string = string

        The type constraint for the material's type identifier, defaulting to string.

      Returns FactoryMaterial<T>

    Properties

    type: T

    The unique type identifier for this material.