EventSlotMapper

public class EventSlotMapper

Class EventSlotMapper. Provides eventslotmapper functionality for the Hytale server.

java.lang.Object > EventSlotMapper

Field Summary

nextEventSlot

private int nextEventSlot

Field nextEventSlot.

typeSlots

final Int2IntMap typeSlots

Field typeSlots.

currentRange

final double currentRange

Field currentRange.

Method Detail

EventSlotMapper

public public EventSlotMapper (final Class classType, final EventType[] types)

Method EventSlotMapper.

Parameters:
final Class classType
final EventType[] types

getEventSets

public IntSet> getEventSets ()

Method getEventSets.

getEventSlotMappings

public Int2IntMap> getEventSlotMappings ()

Method getEventSlotMappings.

getEventSlotRanges

public Int2DoubleMap getEventSlotRanges ()

Method getEventSlotRanges.

getEventSlotCount

public int getEventSlotCount ()

Method getEventSlotCount.

getEventSlot

public int getEventSlot (final EventType type, final int set, final double maxRange)

Method getEventSlot.

Parameters:
final EventType type
final int set
final double maxRange

IntOpenHashSet

public new IntOpenHashSet ()

Method IntOpenHashSet.