Contents
Interface ReadWriteArchetypeQuery<ECS_TYPE>
- All Superinterfaces:
Query<ECS_TYPE>
- All Known Implementing Classes:
ReadWriteQuery
- Since:
- 2020/08/14
-
Method Summary
Modifier and TypeMethodDescriptionThe component types that are read fromThe component types that are modifieddefault booleanrequiresComponentType(ComponentType<ECS_TYPE, ?> componentType) Controls if the system should be automatically unregistered if a component type is removed.default booleanControls if this query should processes the providedArchetype.default voidvalidate()Validates the internal state of this query.default voidvalidateRegistry(ComponentRegistry<ECS_TYPE> registry) Validates that the providedComponentRegistryis compatible with this query.
-
Method Details
-
getReadArchetype
-
getWriteArchetype
-
test
Controls if this query should processes the providedArchetype.- Specified by:
testin interfaceQuery<ECS_TYPE>- Returns:
trueif thearchetypeparam contains bothgetReadArchetype()andgetWriteArchetype().
-
requiresComponentType
Controls if the system should be automatically unregistered if a component type is removed.- Specified by:
requiresComponentTypein interfaceQuery<ECS_TYPE>- Returns:
trueif thecomponentTypeparam is in eithergetReadArchetype()orgetWriteArchetype().
-
validateRegistry
Description copied from interface:QueryValidates that the providedComponentRegistryis compatible with this query.- Specified by:
validateRegistryin interfaceQuery<ECS_TYPE>- Parameters:
registry- The component registry to validate against.
-
validate
-