Internal
Applies mixin functionality to enhance an entity with additional capabilities.
The entity instance to enhance
The constructor whose prototype methods to copy
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.
Applies mixin functionality to enhance an entity with additional capabilities.