edit

inline fun World.edit(entityId: Int, entityEdit: EntityEdit.() -> Unit = {}): EntityEdit

Edits an entity.

Receiver

the World for editing the entity.

Return

the EntityEdit.

Parameters

entityId

the ID of the entity to edit.

entityEdit

the inlined function with the EntityEdit.