package edu.redwoods.client;
import edu.redwoods.composite.Circle;
import edu.redwoods.composite.Drawing;
import edu.redwoods.composite.Shape;
import edu.redwoods.composite.Triangle;
public class Client {
public static void main(String[] args) {
Shape tri = new Triangle();
Shape tri1 = new Triangle();
Shape cir = new Circle();
Drawing drawing = new Drawing();
drawing.add(tri1);
drawing.add(tri1);
drawing.add(cir);
drawing.draw("Red");
drawing.clear();
drawing.add(tri);
drawing.add(cir);
drawing.draw("Green");
}
}