Contents
Class WorldEventType<ECS_TYPE, Event extends EcsEvent>
java.lang.Object
com.hypixel.hytale.component.SystemType<ECS_TYPE, WorldEventSystem<ECS_TYPE,Event>>
com.hypixel.hytale.component.event.EventSystemType<ECS_TYPE, Event, WorldEventSystem<ECS_TYPE,Event>>
com.hypixel.hytale.component.event.WorldEventType<ECS_TYPE,Event>
- Type Parameters:
ECS_TYPE- The type of ECS this system type is part of.Event- The type of event this system type represents.
- All Implemented Interfaces:
Comparable<SystemType<ECS_TYPE,?>>
public class WorldEventType<ECS_TYPE, Event extends EcsEvent>
extends EventSystemType<ECS_TYPE, Event, WorldEventSystem<ECS_TYPE,Event>>
A system type representing a world event system.
-
Field Summary
Fields inherited from class SystemType
EMPTY_ARRAY -
Constructor Summary
ConstructorsConstructorDescriptionWorldEventType(ComponentRegistry<ECS_TYPE> registry, Class<? super WorldEventSystem<ECS_TYPE, Event>> tClass, Class<Event> eClass, int index) Default Constructor for aWorldEventTypeinstance. -
Method Summary
Methods inherited from class EventSystemType
getEventClass, isTypeMethods inherited from class SystemType
compareTo, equals, getIndex, getRegistry, getTypeClass, hashCode, toString, validate, validateRegistry
-
Constructor Details
-
WorldEventType
public WorldEventType(@Nonnull ComponentRegistry<ECS_TYPE> registry, @Nonnull Class<? super WorldEventSystem<ECS_TYPE, Event>> tClass, @Nonnull Class<Event> eClass, int index) Default Constructor for aWorldEventTypeinstance.- Parameters:
registry- The registry this system type is part of.tClass- The class type of the system.eClass- The class type of the event.index- The index for this system type.
-