public class PlayerPingSystem extends EntityTickingSystem
System for handling playerping mechanics. Systems contain game logic that operates on entities with specific component types.
java.lang.Object > EntityTickingSystem > PlayerPingSystem
Field Summary
playerRefComponent
final
PlayerRef
playerRefComponent
Field playerRefComponent.
Method Detail
getDependencies
public
Set>
getDependencies
()
Method getDependencies.
isParallel
public
boolean
isParallel
(final int archetypeChunkSize, final int taskCount)
Method isParallel.
- Parameters:
final intarchetypeChunkSizefinal inttaskCount
tick
public
void
tick
(final float dt, final int index, @Nonnull final ArchetypeChunk archetypeChunk, @Nonnull final Store store, @Nonnull final CommandBuffer commandBuffer)
Method tick.
- Parameters:
final floatdtfinal intindex@Nonnull final ArchetypeChunkarchetypeChunk@Nonnull final Storestore@Nonnull final CommandBuffercommandBuffer