Extend nexus equality check

This commit is contained in:
Christian Treffs 2019-10-01 07:15:54 +02:00
parent bc7c00f2a8
commit 0d9d1100dc
1 changed files with 2 additions and 1 deletions

View File

@ -76,7 +76,8 @@ extension Nexus: Equatable {
lhs.componentIdsByEntity == rhs.componentIdsByEntity &&
lhs.freeEntities == rhs.freeEntities &&
lhs.familyMembersByTraits == rhs.familyMembersByTraits &&
lhs.componentsByType.keys == rhs.componentsByType.keys
lhs.componentsByType.keys == rhs.componentsByType.keys &&
lhs.parentChildrenMap == rhs.parentChildrenMap
// NOTE: components are not equatable (yet)
}
}