CollectionChangedEventCallback
typealias CollectionChangedEventCallback = (collection: EntityCollection, added: ReadonlyArray<Entity>, removed: ReadonlyArray<Entity>, changed: ReadonlyArray<Entity>) -> Unit(source)
The signature of the event generated by EntityCollection.collectionChanged.
Parameters
collection
The collection that triggered the event.
added
The array of Entity instances that have been added to the collection.
removed
The array of Entity instances that have been removed from the collection.
changed
The array of Entity instances that have been modified.