-
-
Notifications
You must be signed in to change notification settings - Fork 11
FamilyTraitSet
ctreffs edited this page Oct 7, 2020
·
3 revisions
public struct FamilyTraitSet
CustomDebugStringConvertible
, CustomStringConvertible
, Equatable
, Hashable
public init(requiresAll: [Component.Type], excludesAll: [Component.Type])
let requiresAll: Set<ComponentIdentifier>
let excludesAll: Set<ComponentIdentifier>
let setHash: Int
var description: String
var debugDescription: String
@inlinable public func isMatch(components: Set<ComponentIdentifier>) -> Bool
@inlinable public func hasAll(_ components: Set<ComponentIdentifier>) -> Bool
@inlinable public func hasNone(_ components: Set<ComponentIdentifier>) -> Bool
@inlinable public static func isValid(requiresAll: Set<ComponentIdentifier>, excludesAll: Set<ComponentIdentifier>) -> Bool
public static func ==(lhs: FamilyTraitSet, rhs: FamilyTraitSet) -> Bool
public func hash(into hasher: inout Hasher)
Generated at 2020-11-25T10:28:11+0000 using swift-doc 1.0.0-beta.5.
Types
- ComponentAdded
- ComponentIdentifier
- ComponentInstanceProvider
- ComponentRemoved
- ComponentSingletonProvider
- ComponentTypeProvider
- ComponentsBuilder.Context
- ComponentsBuilderPreview
- DefaultCodingStrategy
- DynamicCodingKey
- DynamicComponentProvider
- DynamicComponentProvider.Closure
- Entity
- Entity.ComponentsIterator
- EntityCreated
- EntityDestroyed
- EntityIdentifier
- EntityState
- EntityStateMachine
- Family
- Family.ComponentsIterator
- Family.EntityComponentIterator
- Family.EntityIterator
- FamilyMemberAdded
- FamilyMemberBuilderPreview
- FamilyMemberRemoved
- FamilyTraitSet
- LinearIncrementingEntityIdGenerator
- ManagedContiguousArray
- Nexus
- Nexus.EntitiesIterator
- Requires1
- Requires2
- Requires3
- Requires4
- Requires5
- Requires6
- Requires7
- Requires8
- Single
- StateComponentMapping
- StringHashing
- UnorderedSparseSet
- UnorderedSparseSet.ElementIterator
Protocols
- CodingStrategy
- Component
- ComponentProvider
- DefaultInitializable
- EntityIdentifierGenerator
- FamilyDecoding
- FamilyEncoding
- FamilyRequirementsManaging
- NexusEvent
- NexusEventDelegate
- RequiringComponents1
- RequiringComponents2
- RequiringComponents3
- RequiringComponents4
- RequiringComponents5
- RequiringComponents6
- RequiringComponents7
- RequiringComponents8
- SingleComponent
- TopLevelDecoder
- TopLevelEncoder