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 ClasseventType
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 intindex@Nonnull final ArchetypeChunkarchetypeChunk@Nonnull final Storestore@Nonnull final CommandBuffercommandBuffer@Nonnull final EventTypeevent