invoke

operator fun invoke(): E(source)

Overload the invoke operator, creating an entity object just like there is a constructor.


inline operator fun invoke(init: E.() -> Unit): E(source)

Overload the invoke operator, creating an entity object and call the init function.