configureEntity

inline fun Engine.configureEntity(entity: Entity, configure: EngineEntity.() -> Unit)

Allows to configure an existing Entity with this Engine.

Parameters

configure

inlined function with an EngineEntity wrapping passed Entity as the receiver to allow further configuration of the Entity. The EngineEntity holds the passed Entity and this Engine.

See also