shapes.add(rect);
roundRect = new RoundedRectangle(150, 10, 60, 80, 20);
shapes.add(roundRect);
ellipse = new Ellipse(350, 40, 50, 30);
shapes.add(ellipse);
circle = new Circle(470, 60, 50);
shapes.add(circle);
polygon = new Polygon(new float[]{550, 10, 600, 40, 620, 100, 570, 130});
shapes.add(polygon);
keys = new boolean[256];