Clarify destroyMembers documentation

This commit is contained in:
Christian Treffs 2020-08-07 11:20:23 +02:00
parent 593dd216f2
commit 11ef35a9ba
No known key found for this signature in database
GPG Key ID: 49A4B4B460BE3ED4
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ public struct Family<R> where R: FamilyRequirementsManaging {
}
/// Destroy all member entities of this family.
/// - Returns: True if entities where destroyed successfully, false otherwise.
/// - Returns: True if entities where destroyed, false otherwise.
@discardableResult
public func destroyMembers() -> Bool {
entities.reduce(!isEmpty) { $0 && nexus.destroy(entity: $1) }