public interface ISystem
Base interface for all ECS systems. Systems contain the game logic that operates on components. They are automatically registered with the component registry and executed based on their dependencies and priorities.
java.lang.Object > ISystem
Field Summary
graph
final
DependencyGraph
graph
Field graph.
Method Detail
onSystemRegistered
public
void
onSystemRegistered
()
Method onSystemRegistered.
onSystemUnregistered
public
void
onSystemUnregistered
()
Method onSystemUnregistered.
getDependencies
public
Set>
getDependencies
()
Method getDependencies.
calculateOrder
public
void
calculateOrder
(@Nonnull final ComponentRegistry registry, @Nonnull final ISystem[] sortedSystems, final int systemSize)
Method calculateOrder.
- Parameters:
@Nonnull final ComponentRegistryregistry@Nonnull final ISystemsortedSystems[] final intsystemSize
- See Also: