public void init(GameContainer gc, StateBasedGame sbg) throws SlickException{
		// Initialises the time left to play.
		if(Settings.level == 1){timeLeft = 60;}
		if(Settings.level == 2){timeLeft = 80;}
		if(Settings.level == 3){timeLeft = 100;}
		if(Settings.level == 4){timeLeft = 120;}
		if(Settings.level == 5){timeLeft = 140;}
		if(Settings.level == 6){timeLeft = 160;}
		if(Settings.level == 7){timeLeft = 180;}
		
		// Initialises the enemy spawner.
		spawner = new EnemySpawner();

		// Initialises the background image
		gameBackground = new Image("res/gamebg.png");

		//Initialises the enemy's image.
		enemyImage = new Image("res/enemies/missile.png");

		// Initialises the bomb image.
		bomb = new Image("res/bomb.png");

		// Initialises the full health image.
		fullhealth = new Image("res/fullhealth.png");

		// Initialises bomb on screen to false.
		bombOnScreen = false;

		// Initialises full-health on screen to false.
		fullhealthOnScreen = false;

		// Initialises the keyboard input text field.
		wordEnteredTF = new TextField((GUIContext)gc, gc.getDefaultFont(), 0, 380, 200, 20);

		// Initialises the score text field.
		scoreTF = new TextField((GUIContext)gc, gc.getDefaultFont(), 200, 380, 190, 20);

		// Initialises the multiplier text field.
		multiplierTF = new TextField((GUIContext)gc, gc.getDefaultFont(), 390, 380, 140, 20);

		// Initialises the health text field.
		healthTF = new TextField((GUIContext)gc, gc.getDefaultFont(), 530, 380, 110, 20);

		// Initialises the missed target variable to false.
		missed = false;

		// Initialises the Random Location variable
		randLoc = new RandomLocation();

		// Initialises the paused variable to true.
		paused = true;

		// Initialises the started variable to false.
		started = false;

		// Initialises the boolean variable to whether or not a Word List has been generated to false.
		wordListGenerated = false;

		// Initialises the level time to 0 seconds.
		time = 0;

		// Initialises the score.
		score = new ScoreCon();

		// Initialises the player's health to 100 and score to 0 if they're just starting the first level.
		if (Settings.level == 1){
			Settings.health = 100;
			Settings.score = 0;
		}

		// Initialises the enemies on screen ArrayList.
		enemiesOnScreen = new ArrayList<Enemy>();

		// Initialises the bullets on the screen ArrayList.
		bulletList = new ArrayList<Bullet>();

		// Sets the multiplier to its default for the level.
		score.setDefaultMultiplier();
		
		// Initialises the sounds.
		healthRestored = new Sound("/res/sounds/healthRestored.ogg");
		explode = new Sound("/res/sounds/explode.ogg");
		detonate = new Sound("/res/sounds/detonate.ogg");
	}