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
Method PlayerSendInventorySystem.
- Parameters:
final ComponentTypecomponentType
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