package lectures.animation.threads_commands.extra;
import util.annotations.WebDocuments;

import lectures.generics_adapters.AHistory;

@WebDocuments({"Lectures/AnimationThreadsCommandsExtra.pptx", "Lectures/AnimationThreadsCommandsExtra.pdf", "Videos/AnimationThreadsCommandsExtra.avi"})
public class ACompositeCommand extends AHistory<Runnable> implements CompositeCommand{

    @Override
    public void run() {
        for (int i = 0; i < size(); i++) {
            elementAt(i).run();
        }
        
    }

}