PlayerCameraSideScrollerCommand

public class PlayerCameraSideScrollerCommand extends AbstractTargetPlayerCommand

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

java.lang.Object > AbstractTargetPlayerCommand > PlayerCameraSideScrollerCommand

Field Summary

cameraSettings

final ServerCameraSettings cameraSettings

Field cameraSettings.

Method Detail

PlayerCameraSideScrollerCommand

public public PlayerCameraSideScrollerCommand ()

Method PlayerCameraSideScrollerCommand.

execute

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

Method execute.

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

SetServerCamera

public new SetServerCamera (ClientCameraView.Custom, true, cameraSettings)

Method SetServerCamera.

Parameters:
ClientCameraView.Custom ClientCameraView.Custom
true true
cameraSettings cameraSettings