Contents
Class SystemGroup<ECS_TYPE>
java.lang.Object
com.hypixel.hytale.component.SystemGroup<ECS_TYPE>
- Type Parameters:
ECS_TYPE- The type of ECS this system group is part of.
- All Implemented Interfaces:
Comparable<SystemGroup<ECS_TYPE>>
A group of systems, registered with a
ComponentRegistry, whcih helps define the order systems should run.-
Method Summary
Modifier and TypeMethodDescriptionintbooleanThe dependencies this system has on other systemsintgetIndex()Get the index for this registered system group.The registry this component type is part of.inthashCode()toString()voidvalidate()Called to validate that this system group is still valid.voidvalidateRegistry(ComponentRegistry<ECS_TYPE> registry) Called to validate that this system group is for the given registry.
-
Method Details
-
getRegistry
The registry this component type is part of.- Returns:
- the registry
-
getDependencies
The dependencies this system has on other systems- Returns:
- the dependencies of this group.
-
getIndex
public int getIndex()Get the index for this registered system group.- Returns:
- The index for this system group
-
validateRegistry
Called to validate that this system group is for the given registry.- Parameters:
registry- The registry to validate against.
-
validate
public void validate()Called to validate that this system group is still valid. -
compareTo
- Specified by:
compareToin interfaceComparable<ECS_TYPE>
-
equals
-
hashCode
-
toString
-