send

fun Collection<Entity>.send(msg: String)

Sends a string message to all entities in this collection.

Parameters

msg

The message to send.


fun Collection<Entity>.send(msg: Component)

Sends a Component message to all entities in this collection.

Parameters

msg

The Component message to send.