AudioSystems

public class AudioSystems

Class AudioSystems. Provides audiosystems functionality for the Hytale server.

java.lang.Object > AudioSystems

Field Summary

visibleComponent

final EntityTrackerSystems.Visible visibleComponent

Field visibleComponent.

audioComponent

final AudioComponent audioComponent

Field audioComponent.

ref

final Ref ref

Field ref.

update

final ComponentUpdate update

Field update.

transformComponent

final TransformComponent transformComponent

Field transformComponent.

positionDataComponent

final PositionDataComponent positionDataComponent

Field positionDataComponent.

movementAudioComponent

final MovementAudioComponent movementAudioComponent

Field movementAudioComponent.

insideBlockTypeId

final int insideBlockTypeId

Field insideBlockTypeId.

lastInsideBlockTypeId

final int lastInsideBlockTypeId

Field lastInsideBlockTypeId.

position

final Vector3d position

Field position.

blockType

final BlockType blockType

Field blockType.

soundSetId

final int soundSetId

Field soundSetId.

soundSet

final BlockSoundSet soundSet

Field soundSet.

soundEvent

final int soundEvent

Field soundEvent.

movementStates

final MovementStatesComponent movementStates

Field movementStates.

Method Detail

EntityTrackerUpdate

public public EntityTrackerUpdate ()

Method EntityTrackerUpdate.

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 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

if

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

Method if.

Parameters:
!visibleComponent.newlyVisibleTo.isEmpty( !visibleComponent.newlyVisibleTo.isEmpty(

queueUpdatesFor

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

Method queueUpdatesFor.

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

playMoveInSound

static void playMoveInSound (@Nonnull final Ref ref, @Nonnull final ComponentAccessor store, @Nonnull final MovementAudioComponent movementAudioComponent, @Nonnull final Vector3d position, final int insideBlockTypeId)

Method playMoveInSound.

Parameters:
@Nonnull final Ref ref
@Nonnull final ComponentAccessor store
@Nonnull final MovementAudioComponent movementAudioComponent
@Nonnull final Vector3d position
final int insideBlockTypeId