Class ReplayCommand
java.lang.Object
fr.istic.aco.editor.commands.ReplayCommand
-
Constructor Summary
ConstructorsConstructorDescriptionReplayCommand(Recorder recorder) Constructs aReplayCommandwith the specified dependencies. -
Method Summary
-
Constructor Details
-
ReplayCommand
Constructs aReplayCommandwith the specified dependencies.- Parameters:
recorder- the command recorder for saving and replaying the command.
-
-
Method Details
-
execute
public void execute()Executes the replay operation.This method invokes the
Recorder.replay()method to replay the sequence of recorded commands.
-