EventSystem

abstract class EventSystem

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

java.lang.Object > EventSystem

Field Summary

No fields documented.

Method Detail

EventSystem

public protected EventSystem (@Nonnull final Class eventType)

Method EventSystem.

Parameters:
@Nonnull final Class eventType

shouldProcessEvent

protected boolean shouldProcessEvent (@Nonnull final EventType event)

Method shouldProcessEvent.

Parameters:
@Nonnull final EventType event

getEventType

public Class getEventType ()

Method getEventType.