PlayerSendInventorySystem

public class PlayerSendInventorySystem extends EntityTickingSystem

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

java.lang.Object > EntityTickingSystem > PlayerSendInventorySystem

Field Summary

playerComponent

final Player playerComponent

Field playerComponent.

inventory

final Inventory inventory

Field inventory.

playerRefComponent

final PlayerRef playerRefComponent

Field playerRefComponent.

Method Detail

PlayerSendInventorySystem

public public PlayerSendInventorySystem (final ComponentType componentType)

Method PlayerSendInventorySystem.

Parameters:
final ComponentType componentType

getQuery

public Query getQuery ()

Method getQuery.

isParallel

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

Method isParallel.

Parameters:
final int archetypeChunkSize
final int taskCount

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 float dt
final int index
@Nonnull final ArchetypeChunk archetypeChunk
@Nonnull final Store store
@Nonnull final CommandBuffer commandBuffer