Merge tag '0.15.2' into develop

FamilyMemberBuilder; destroyMembers
This commit is contained in:
Christian Treffs 2020-08-07 11:21:05 +02:00
commit 944e96828b
No known key found for this signature in database
GPG Key ID: 49A4B4B460BE3ED4
2 changed files with 2 additions and 2 deletions

View File

@ -36,7 +36,7 @@ import PackageDescription
let package = Package(
name: "YourPackageName",
dependencies: [
.package(url: "https://github.com/fireblade-engine/ecs.git", from: "0.15.1")
.package(url: "https://github.com/fireblade-engine/ecs.git", from: "0.15.2")
],
targets: [
.target(

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) }