Contents
Class ReadWriteQuery<ECS_TYPE>
java.lang.Object
com.hypixel.hytale.component.ReadWriteQuery<ECS_TYPE>
- Type Parameters:
ECS_TYPE- The type of the ECS.
- All Implemented Interfaces:
Query<ECS_TYPE>, ReadWriteArchetypeQuery<ECS_TYPE>
A query type that matches archetypes based on read and write archetypes.
-
Constructor Summary
ConstructorsConstructorDescriptionReadWriteQuery(Archetype<ECS_TYPE> read, Archetype<ECS_TYPE> write) Default Constructor for aReadWriteQueryinstance. -
Method Summary
Modifier and TypeMethodDescriptionThe component types that are read fromThe component types that are modifiedMethods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ReadWriteArchetypeQuery
requiresComponentType, test, validate, validateRegistry
-
Constructor Details
-
ReadWriteQuery
Default Constructor for aReadWriteQueryinstance.- Parameters:
read- The read archetype.write- The write archetype.
-
-
Method Details
-
getReadArchetype
Description copied from interface:ReadWriteArchetypeQueryThe component types that are read from- Specified by:
getReadArchetypein interfaceReadWriteArchetypeQuery<ECS_TYPE>
-
getWriteArchetype
Description copied from interface:ReadWriteArchetypeQueryThe component types that are modified- Specified by:
getWriteArchetypein interfaceReadWriteArchetypeQuery<ECS_TYPE>
-