public void run()
	{
		while(dibujando)
		{
			try {
				Thread.sleep(500);
				avanzar();
				ta.colocarObjetos(Ventana.getSn(),Ventana.getP());
				Ventana.li.repaint();
                estado();
			} catch (InterruptedException e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			}
		}
		
	}