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

import lectures.generics_adapters.AHistory;

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

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

}