VoidEventRefSystem

final class VoidEventRefSystem extends RefSystem

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

java.lang.Object > RefSystem > VoidEventRefSystem

Field Summary

portalWorld

final PortalWorld portalWorld

Field portalWorld.

voidEventConfig

final VoidEventConfig voidEventConfig

Field voidEventConfig.

forcedMusic

final String forcedMusic

Field forcedMusic.

ambienceResource

final AmbienceResource ambienceResource

Field ambienceResource.

world

final World world

Field world.

voidEvent

final VoidEvent voidEvent

Field voidEvent.

activeStage

final VoidEventStage activeStage

Field activeStage.

Method Detail

onEntityAdded

public void onEntityAdded (@Nonnull final Ref ref, @Nonnull final AddReason reason, @Nonnull final Store store, @Nonnull final CommandBuffer commandBuffer)

Method onEntityAdded.

Parameters:
@Nonnull final Ref ref
@Nonnull final AddReason reason
@Nonnull final Store store
@Nonnull final CommandBuffer commandBuffer

onEntityRemove

public void onEntityRemove (@Nonnull final Ref ref, @Nonnull final RemoveReason reason, @Nonnull final Store store, @Nonnull final CommandBuffer commandBuffer)

Method onEntityRemove.

Parameters:
@Nonnull final Ref ref
@Nonnull final RemoveReason reason
@Nonnull final Store store
@Nonnull final CommandBuffer commandBuffer

getQuery

public Query getQuery ()

Method getQuery.