public class LocalSpawnBeaconSystem extends RefSystem
System for handling localspawnbeacon mechanics. Systems contain game logic that operates on entities with specific component types.
java.lang.Object > RefSystem > LocalSpawnBeaconSystem
Field Summary
No fields documented.
Method Detail
LocalSpawnBeaconSystem
public
public
LocalSpawnBeaconSystem
(final ComponentType componentType, final ResourceType localSpawnStateResourceType)
Method LocalSpawnBeaconSystem.
- Parameters:
final ComponentTypecomponentTypefinal ResourceTypelocalSpawnStateResourceType
onEntityAdded
public
void
onEntityAdded
(@Nonnull final Ref reference, @Nonnull final AddReason reason, @Nonnull final Store store, @Nonnull final CommandBuffer commandBuffer)
Method onEntityAdded.
- Parameters:
@Nonnull final Refreference@Nonnull final AddReasonreason@Nonnull final Storestore@Nonnull final CommandBuffercommandBuffer
onEntityRemove
public
void
onEntityRemove
(@Nonnull final Ref reference, @Nonnull final RemoveReason reason, @Nonnull final Store store, @Nonnull final CommandBuffer commandBuffer)
Method onEntityRemove.
- Parameters:
@Nonnull final Refreference@Nonnull final RemoveReasonreason@Nonnull final Storestore@Nonnull final CommandBuffercommandBuffer