EntityEventSystem

abstract class EntityEventSystem

System for handling entityevent mechanics. Systems contain game logic that operates on entities with specific component types.

java.lang.Object > EntityEventSystem

Field Summary

No fields documented.

Method Detail

EntityEventSystem

public protected EntityEventSystem (@Nonnull final Class eventType)

Method EntityEventSystem.

Parameters:
@Nonnull final Class eventType

handleInternal

public void handleInternal (final int index, @Nonnull final ArchetypeChunk archetypeChunk, @Nonnull final Store store, @Nonnull final CommandBuffer commandBuffer, @Nonnull final EventType event)

Method handleInternal.

Parameters:
final int index
@Nonnull final ArchetypeChunk archetypeChunk
@Nonnull final Store store
@Nonnull final CommandBuffer commandBuffer
@Nonnull final EventType event