Module assemblage

Assemblage An Assemblage is a function that 'makes' an entity something.

It does this by :give'ing or :ensure'ing Components, or by :assemble'ing the Entity.

Functions

Assemblage.new (assemble) Creates a new Assemblage.
Assemblage:assemble (e, ...) Assembles an Entity.


Functions

Assemblage.new (assemble)
Creates a new Assemblage.

Parameters:

  • assemble Function that assembles an Entity

Returns:

    A new Assemblage
Assemblage:assemble (e, ...)
Assembles an Entity.

Parameters:

  • e Entity to assemble
  • ... Varargs to pass to the assemble function @ return self
generated by LDoc 1.4.6 Last updated 2020-01-04 00:43:06