rhodonite
    Preparing search index...

    Function applyMixins

    • Internal

      Applies mixin functionality to enhance an entity with additional capabilities.

      Parameters

      • derivedCtor: IEntity

        The entity instance to enhance

      • baseCtor: any

        The constructor whose prototype methods to copy

      Returns void

      This utility function copies all property descriptors from a base constructor's prototype to the derived entity instance. Used internally for entity enhancement when components are added.