private void repaintMove() throws InterruptedException {
   repaint();
   Thread.sleep(tank.getSpeed());
 }