MovementAudioComponent

public class MovementAudioComponent implements Component

Component for tracking movementaudio state. Attach this component to entities that need to track movementaudio data.

java.lang.Object > MovementAudioComponent

Field Summary

lastInsideBlockTypeId

private int lastInsideBlockTypeId

Field lastInsideBlockTypeId.

nextMoveInRepeat

private float nextMoveInRepeat

Field nextMoveInRepeat.

owner

protected Ref owner

Field owner.

Method Detail

getComponentType

public MovementAudioComponent> getComponentType ()

Method getComponentType.

MovementAudioComponent

public public MovementAudioComponent ()

Method MovementAudioComponent.

getShouldHearPredicate

public ShouldHearPredicate getShouldHearPredicate (final Ref ref)

Method getShouldHearPredicate.

Parameters:
final Ref ref

getLastInsideBlockTypeId

public int getLastInsideBlockTypeId ()

Method getLastInsideBlockTypeId.

setLastInsideBlockTypeId

public void setLastInsideBlockTypeId (final int lastInsideBlockTypeId)

Method setLastInsideBlockTypeId.

Parameters:
final int lastInsideBlockTypeId

canMoveInRepeat

public boolean canMoveInRepeat ()

Method canMoveInRepeat.

tickMoveInRepeat

public boolean tickMoveInRepeat (final float dt)

Method tickMoveInRepeat.

Parameters:
final float dt

setNextMoveInRepeat

public void setNextMoveInRepeat (final float nextMoveInRepeat)

Method setNextMoveInRepeat.

Parameters:
final float nextMoveInRepeat

clone

public Component clone ()

Method clone.

test

public boolean test (@Nonnull final Ref targetRef)

Method test.

Parameters:
@Nonnull final Ref targetRef