SoundCommand

public class SoundCommand extends AbstractPlayerCommand

Command for soun operations. Registered with the command system and callable by players.

java.lang.Object > AbstractPlayerCommand > SoundCommand

Field Summary

playerComponent

final Player playerComponent

Field playerComponent.

playerRefComponent

final PlayerRef playerRefComponent

Field playerRefComponent.

Method Detail

SoundCommand

public public SoundCommand ()

Method SoundCommand.

SoundPlay2DCommand

public new SoundPlay2DCommand ()

Method SoundPlay2DCommand.

SoundPlay3DCommand

public new SoundPlay3DCommand ()

Method SoundPlay3DCommand.

execute

protected void execute (@Nonnull final CommandContext context, @Nonnull final Store store, @Nonnull final Ref ref, @Nonnull final PlayerRef playerRef, @Nonnull final World world)

Method execute.

Parameters:
@Nonnull final CommandContext context
@Nonnull final Store store
@Nonnull final Ref ref
@Nonnull final PlayerRef playerRef
@Nonnull final World world

PlaySoundPage

public new PlaySoundPage (playerRefComponent)

Method PlaySoundPage.

Parameters:
playerRefComponent playerRefComponent