public void update() {
   for (Update u : observers) u.update();
   repaint();
 }