TagQuery <TKnownTags>
Index
Constructors
Properties
Methods
Constructors
constructor
Type parameters
- TKnownTags: string = never
Parameters
requiredTags: TKnownTags[]
Returns TagQuery<TKnownTags>
Properties
publicentities
publicentityAdded$
publicentityRemoved$
This fires right before the component is actually removed from the entity, it will still be available for cleanup purposes
publicreadonlyid
publicreadonlyrequiredTags
publictags
Methods
checkAndAdd
Parameters
entity: Entity<any>
Returns boolean
publicgetEntities
removeEntity
Parameters
entity: Entity<any>
Returns void
staticcreateId
Parameters
requiredComponents: string[]
Returns string
This fires right after the component is added