RotateCommand

public class RotateCommand extends AbstractCommandCollection

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

java.lang.Object > AbstractCommandCollection > RotateCommand

Field Summary

playerComponent

final Player playerComponent

Field playerComponent.

angle

final int angle

Field angle.

axis

final Axis axis

Field axis.

yaw

final float yaw

Field yaw.

pitch

final float pitch

Field pitch.

roll

final float roll

Field roll.

isSimple90Degree

final boolean isSimple90Degree

Field isSimple90Degree.

Method Detail

RotateCommand

public public RotateCommand ()

Method RotateCommand.

RotateArbitraryVariant

public new RotateArbitraryVariant ()

Method RotateArbitraryVariant.

RotateAxisVariant

public new RotateAxisVariant ()

Method RotateAxisVariant.

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