public void render(GameContainer gc, StateBasedGame sbg, Graphics g) throws SlickException{
		// Draws the "You're dead" message on the screen.
		g.drawString(dead, 50, 50);
		
		// Draws the name TextField on the screen and instructions.
		if (addScore && !added){
			g.drawString("Enter your name and hit enter", 50, 360);
			
			// Draws the name text field.
			nameTF.render(gc, g);
			nameTF.setBackgroundColor(Color.black);
			nameTF.setFocus(true);
		}
		
		if (noNameSpecified){
			g.drawString("You must enter a name.", 50, 345);
		}
		
		// Confirms that the score has been added to the table.
		if (added){
			g.drawString("Your score has been added to the highscores table", 50, 360);
		}
	}