PlayerCameraTopdownCommand

public class PlayerCameraTopdownCommand extends AbstractTargetPlayerCommand

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

java.lang.Object > AbstractTargetPlayerCommand > PlayerCameraTopdownCommand

Field Summary

cameraSettings

final ServerCameraSettings cameraSettings

Field cameraSettings.

Method Detail

PlayerCameraTopdownCommand

public public PlayerCameraTopdownCommand ()

Method PlayerCameraTopdownCommand.

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