public class KillTrackerSystem extends DeathSystems.OnDeathSystem
System for handling killtracker mechanics. Systems contain game logic that operates on entities with specific component types.
java.lang.Object > DeathSystems.OnDeathSystem > KillTrackerSystem
Field Summary
entity
final
NPCEntity
entity
Field entity.
tracker
final
KillTrackerResource
tracker
Field tracker.
killTasks
final
List
killTasks
Field killTasks.
size
final
int
size
Field size.
entry
final
KillTaskTransaction
entry
Field entry.
Method Detail
onComponentAdded
public
void
onComponentAdded
(@Nonnull final Ref ref, @Nonnull final DeathComponent component, @Nonnull final Store store, @Nonnull final CommandBuffer commandBuffer)
Method onComponentAdded.
- Parameters:
@Nonnull final Refref@Nonnull final DeathComponentcomponent@Nonnull final Storestore@Nonnull final CommandBuffercommandBuffer