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 ComponentTypemessageSupportComponentType@Nonnull final Setdependencies>
getDependencies
public
Set>
getDependencies
()
Method getDependencies.
isParallel
public
boolean
isParallel
(final int archetypeChunkSize, final int taskCount)
Method isParallel.
- Parameters:
final intarchetypeChunkSizefinal inttaskCount
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 floatdtfinal intindex@Nonnull final ArchetypeChunkarchetypeChunk@Nonnull final Storestore@Nonnull final CommandBuffercommandBuffer
BeaconSystem
public
public
BeaconSystem
(@Nonnull final ComponentType componentType, @Nonnull final Set> dependencies)
Method BeaconSystem.
- Parameters:
@Nonnull final ComponentTypecomponentType@Nonnull final Setdependencies>
NPCBlockEventSystem
public
public
NPCBlockEventSystem
(@Nonnull final ComponentType componentType, @Nonnull final Set> dependencies)
Method NPCBlockEventSystem.
- Parameters:
@Nonnull final ComponentTypecomponentType@Nonnull final Setdependencies>
PlayerBlockEventSystem
public
public
PlayerBlockEventSystem
(@Nonnull final ComponentType componentType, @Nonnull final Set> dependencies)
Method PlayerBlockEventSystem.
- Parameters:
@Nonnull final ComponentTypecomponentType@Nonnull final Setdependencies>
NPCEntityEventSystem
public
public
NPCEntityEventSystem
(@Nonnull final ComponentType componentType, @Nonnull final Set> dependencies)
Method NPCEntityEventSystem.
- Parameters:
@Nonnull final ComponentTypecomponentType@Nonnull final Setdependencies>
PlayerEntityEventSystem
public
public
PlayerEntityEventSystem
(@Nonnull final ComponentType componentType, @Nonnull final Set> dependencies)
Method PlayerEntityEventSystem.
- Parameters:
@Nonnull final ComponentTypecomponentType@Nonnull final Setdependencies>