Companion

Companion object provides functions to create entity instances.

Functions

Link copied to clipboard
inline fun <E : Entity<E>> create(): E
fun create(entityClass: KClass<*>): Entity<*>

Create an entity object by JDK dynamic proxy.