public Level(String[] read, int numWords, float time)
	{
		this.time = time;
		this.numWords = numWords;
	   	averageTime = time / (float)numWords;
    	times = new float[numWords];
    	words = new Word[numWords];
    	for(int i = 0;i < numWords;i++)
    	{
    		int randNum = rnd.nextInt(WordReader.totalWords);
    		words[i] = new Word(read[randNum]);
    		times[i] = averageTime * (float)i;
    	}
    	hud = new Hud();
	}