Contents
Class EventSystemType<ECS_TYPE, Event extends EcsEvent, SYSTEM_TYPE extends EventSystem<Event> & ISystem<ECS_TYPE>>
java.lang.Object
com.hypixel.hytale.component.SystemType<ECS_TYPE, SYSTEM_TYPE>
com.hypixel.hytale.component.event.EventSystemType<ECS_TYPE, Event, SYSTEM_TYPE>
- Type Parameters:
ECS_TYPE- The type of ECS this system type is part of.Event- The type of event this system type represents.SYSTEM_TYPE- The type of event system.
- All Implemented Interfaces:
Comparable<SystemType<ECS_TYPE,?>>
- Direct Known Subclasses:
EntityEventType, EntityHolderEventType, WorldEventType
public abstract class EventSystemType<ECS_TYPE, Event extends EcsEvent, SYSTEM_TYPE extends EventSystem<Event> & ISystem<ECS_TYPE>>
extends SystemType<ECS_TYPE, SYSTEM_TYPE>
Abstract base class for system types representing event systems.
-
Field Summary
Fields inherited from class SystemType
EMPTY_ARRAY -
Method Summary
Methods inherited from class SystemType
compareTo, equals, getIndex, getRegistry, getTypeClass, hashCode, toString, validate, validateRegistry
-
Method Details
-
getEventClass
-
isType
Description copied from class:SystemTypeDetermines whether the given system is of this type.- Overrides:
isTypein classSystemType<ECS_TYPE, SYSTEM_TYPE extends EventSystem<Event> & ISystem<ECS_TYPE>>- Parameters:
system- The system to check.- Returns:
trueif the system is of this type,falseotherwise.
-