MessageSupportSystem

abstract class MessageSupportSystem

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

java.lang.Object > MessageSupportSystem

Field Summary

messageSupportComponent

final T messageSupportComponent

Field messageSupportComponent.

messageSlots

final NPCMessage[] messageSlots

Field messageSlots.

Method Detail

MessageSupportSystem

public public MessageSupportSystem (@Nonnull final ComponentType messageSupportComponentType, @Nonnull final Set> dependencies)

Method MessageSupportSystem.

Parameters:
@Nonnull final ComponentType messageSupportComponentType
@Nonnull final Set> dependencies

getDependencies

public Set> getDependencies ()

Method getDependencies.

isParallel

public boolean isParallel (final int archetypeChunkSize, final int taskCount)

Method isParallel.

Parameters:
final int archetypeChunkSize
final int taskCount

steppedTick

public void steppedTick (final float dt, final int index, @Nonnull final ArchetypeChunk archetypeChunk, @Nonnull final Store store, @Nonnull final CommandBuffer commandBuffer)

Method steppedTick.

Parameters:
final float dt
final int index
@Nonnull final ArchetypeChunk archetypeChunk
@Nonnull final Store store
@Nonnull final CommandBuffer commandBuffer

getQuery

public Query getQuery ()

Method getQuery.

BeaconSystem

public public BeaconSystem (@Nonnull final ComponentType componentType, @Nonnull final Set> dependencies)

Method BeaconSystem.

Parameters:
@Nonnull final ComponentType componentType
@Nonnull final Set> dependencies

NPCBlockEventSystem

public public NPCBlockEventSystem (@Nonnull final ComponentType componentType, @Nonnull final Set> dependencies)

Method NPCBlockEventSystem.

Parameters:
@Nonnull final ComponentType componentType
@Nonnull final Set> dependencies

PlayerBlockEventSystem

public public PlayerBlockEventSystem (@Nonnull final ComponentType componentType, @Nonnull final Set> dependencies)

Method PlayerBlockEventSystem.

Parameters:
@Nonnull final ComponentType componentType
@Nonnull final Set> dependencies

NPCEntityEventSystem

public public NPCEntityEventSystem (@Nonnull final ComponentType componentType, @Nonnull final Set> dependencies)

Method NPCEntityEventSystem.

Parameters:
@Nonnull final ComponentType componentType
@Nonnull final Set> dependencies

PlayerEntityEventSystem

public public PlayerEntityEventSystem (@Nonnull final ComponentType componentType, @Nonnull final Set> dependencies)

Method PlayerEntityEventSystem.

Parameters:
@Nonnull final ComponentType componentType
@Nonnull final Set> dependencies