public void gameLoop() {
	
		this.window.setVisible(true);
		this.window.setCursorVisible(false);
		
		this.musicStore.stopMidi("attack");
		this.musicStore.playMidi("intro");		
		
		while(this.exit == false) {		
		
		
			while(this.eventQueue.hasNext()) {
				this.eventQueue.handle();
			}
			
			this.window.draw(this.imageStore.getImage(ImageStore.TITLE_BG), 0, 0);			
			this.window.draw(this.imageStore.getImage(ImageStore.TITLE_SHADOW), 13, 13);
			this.window.draw(this.imageStore.getImage(ImageStore.TITLE), 10, 10);
			
			if (this.display == true) {
				
				this.window.draw(this.imageStore.getImage(ImageStore.PRESS_START_SHADOW), 250, 500);			
				this.window.draw(this.imageStore.getImage(ImageStore.PRESS_START), 248, 498);
				this.display = false;
			} else {
				this.display = true;
			}
						
			this.window.render();
			
			
			try {
				Thread.sleep(500);
			} catch (InterruptedException e) {
				
			}
			
		}
		
		//this.musicStore.stopMusic();		
	}