public  DungeonPanel()
	{
		

		addMouseListener(this);
		setFocusable(true);
		addKeyListener(player);


		ImageIcon environment = new ImageIcon("images/environment/titleScreen.png");
		title = environment.getImage();
		environment = new ImageIcon("images/environment/titleScreenControlsPressed.png");
		controlsPressed = environment.getImage();
		environment = new ImageIcon("images/environment/titleScreenStartPressed.png");
		startPressed = environment.getImage();
		environment = new ImageIcon("images/environment/controls.png");
		controls = environment.getImage();



		for(int i = 0; i < logo.length; i ++)
		{
			String logoName = "LOGO/mainlogostage" + (i + 1) + ".png";
			logo[i] = new ImageIcon(logoName);
		}

		for(int i = 0; i < fade.length; i++)
		{
			String logoName = "images/misc/fade/" + ((i + 1) * 10) + ".png";
			ImageIcon picture = new ImageIcon(logoName);
			fade[i] = picture.getImage();
		}
		timer.start();
	}