InvulnerableSystems

public class InvulnerableSystems

Class InvulnerableSystems. Provides invulnerablesystems functionality for the Hytale server.

java.lang.Object > InvulnerableSystems

Field Summary

visible

final EntityTrackerSystems.Visible visible

Field visible.

ref

final Ref ref

Field ref.

update

final ComponentUpdate update

Field update.

Method Detail

QueueResource

public public QueueResource ()

Method QueueResource.

getResourceType

public QueueResource> getResourceType ()

Method getResourceType.

clone

public Resource clone ()

Method clone.

EntityTrackerUpdate

public public EntityTrackerUpdate (final ComponentType componentType)

Method EntityTrackerUpdate.

Parameters:
final ComponentType componentType

getGroup

public SystemGroup getGroup ()

Method getGroup.

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 systemIndex, @Nonnull final Store store)

Method tick.

Parameters:
final float dt
final int systemIndex
@Nonnull final Store store

if

public else if (!visible.newlyVisibleTo.isEmpty()

Method if.

Parameters:
!visible.newlyVisibleTo.isEmpty( !visible.newlyVisibleTo.isEmpty(

queueUpdatesFor

static void queueUpdatesFor (final Ref ref, @Nonnull final Map, EntityTrackerSystems.EntityViewer> visibleTo)

Method queueUpdatesFor.

Parameters:
final Ref ref
@Nonnull final Map, EntityTrackerSystems.EntityViewer> visibleTo

EntityTrackerAddAndRemove

public public EntityTrackerAddAndRemove (final ComponentType visibleComponentType)

Method EntityTrackerAddAndRemove.

Parameters:
final ComponentType visibleComponentType

componentType

public Invulnerable> componentType ()

Method componentType.

onComponentAdded

public void onComponentAdded (@Nonnull final Ref ref, @Nonnull final Invulnerable component, @Nonnull final Store store, @Nonnull final CommandBuffer commandBuffer)

Method onComponentAdded.

Parameters:
@Nonnull final Ref ref
@Nonnull final Invulnerable component
@Nonnull final Store store
@Nonnull final CommandBuffer commandBuffer

onComponentSet

public void onComponentSet (@Nonnull final Ref ref, final Invulnerable oldComponent, @Nonnull final Invulnerable newComponent, @Nonnull final Store store, @Nonnull final CommandBuffer commandBuffer)

Method onComponentSet.

Parameters:
@Nonnull final Ref ref
final Invulnerable oldComponent
@Nonnull final Invulnerable newComponent
@Nonnull final Store store
@Nonnull final CommandBuffer commandBuffer

onComponentRemoved

public void onComponentRemoved (@Nonnull final Ref ref, @Nonnull final Invulnerable component, @Nonnull final Store store, @Nonnull final CommandBuffer commandBuffer)

Method onComponentRemoved.

Parameters:
@Nonnull final Ref ref
@Nonnull final Invulnerable component
@Nonnull final Store store
@Nonnull final CommandBuffer commandBuffer