RedoCommand

public class RedoCommand extends AbstractPlayerCommand

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

java.lang.Object > AbstractPlayerCommand > RedoCommand

Field Summary

playerComponent

final Player playerComponent

Field playerComponent.

playerRefComponent

final PlayerRef playerRefComponent

Field playerRefComponent.

Method Detail

RedoCommand

public public RedoCommand ()

Method RedoCommand.

RedoWithCountCommand

public new RedoWithCountCommand ()

Method RedoWithCountCommand.

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

executeRedo

static void executeRedo (@Nonnull final Store store, @Nonnull final Ref ref, final int count)

Method executeRedo.

Parameters:
@Nonnull final Store store
@Nonnull final Ref ref
final int count