public class LoopThread extends Thread
{
	TW twloop;
	public LoopThread(TW twl,ThreadGroup current)
	{
	
		super(current,"LoopThread");
		this.twloop = twl;
	}
	public void run()
	{
			while (twloop.cycle < twloop.ScrnLen + 2)
			{
			twloop.loop();
			
			}
	}
}
