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 CommandContextcontext@Nullable final RefsourceRef@Nonnull final Refref@Nonnull final PlayerRefplayerRef@Nonnull final Worldworld@Nonnull final Storestore
SetServerCamera
public
new
SetServerCamera
(ClientCameraView.Custom, true, cameraSettings)
Method SetServerCamera.
- Parameters:
ClientCameraView.CustomClientCameraView.CustomtruetruecameraSettingscameraSettings