public class UndoCommand extends AbstractPlayerCommand
Command for und operations. Registered with the command system and callable by players.
java.lang.Object > AbstractPlayerCommand > UndoCommand
Field Summary
playerComponent
final
Player
playerComponent
Field playerComponent.
playerRefComponent
final
PlayerRef
playerRefComponent
Field playerRefComponent.
Method Detail
UndoCommand
public
public
UndoCommand
()
Method UndoCommand.
UndoWithCountCommand
public
new
UndoWithCountCommand
()
Method UndoWithCountCommand.
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 CommandContextcontext@Nonnull final Storestore@Nonnull final Refref@Nonnull final PlayerRefplayerRef@Nonnull final Worldworld
executeUndo
Method executeUndo.
- Parameters:
@Nonnull final Storestore@Nonnull final Refreffinal intcount