Entity:assemble
Assembles an Entity by calling `assemblage(self, ...)` and returning `self`.
Assembles an Entity by calling assemblage(self, ...) and returning self.
entity = entity:assemble( assemblage, ... )Arguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
assemblage |
fun(entity: Entity, …) | Function that will assemble an entity |
... |
any | Additional arguments to pass to the assemblage function. |
Returns
Section titled “Returns”| Name | Type | Description |
|---|---|---|
entity |
Entity |