@Override
		public synchronized void keyPressed(KeyEvent e) {		
			pressed.add(e.getKeyChar());
			if(pressed.size() > 1){
				
				System.out.println(pressed);
				//LEFT UP PRESSED
				if (e.getKeyCode() == KeyEvent.VK_LEFT && e.getKeyCode() == KeyEvent.VK_UP
						|| e.getKeyCode() == KeyEvent.VK_A && e.getKeyCode() == KeyEvent.VK_W) {
					player.direction = "NW";
				}
				//UP RIGHT PRESSED
				if (e.getKeyCode() == KeyEvent.VK_UP && e.getKeyCode() == KeyEvent.VK_RIGHT
						|| e.getKeyCode() == KeyEvent.VK_W && e.getKeyCode() == KeyEvent.VK_D) {
					player.direction = "NE";

				}
				//RIGHT DOWN PRESSED
				if (e.getKeyCode() == KeyEvent.VK_RIGHT && e.getKeyCode() == KeyEvent.VK_DOWN
						|| e.getKeyCode() == KeyEvent.VK_S && e.getKeyCode() == KeyEvent.VK_D) {
					player.direction = "SE";
				}
				//DOWN LEFT PRESSED
				if (e.getKeyCode() == KeyEvent.VK_LEFT && e.getKeyCode() == KeyEvent.VK_DOWN
						|| e.getKeyCode() == KeyEvent.VK_S && e.getKeyCode() == KeyEvent.VK_A) {
					player.direction = "SW";
				}
			}else{
				//LEFT PRESSED
				if (e.getKeyCode() == KeyEvent.VK_LEFT || e.getKeyCode() == KeyEvent.VK_A) {
					player.direction = "W";
				}
				//DOWN PRESSED
				if (e.getKeyCode() == KeyEvent.VK_DOWN || e.getKeyCode() == KeyEvent.VK_S) {
					player.direction = "S";
				}
				//RIGHT PRESSED
				if (e.getKeyCode() == KeyEvent.VK_RIGHT || e.getKeyCode() == KeyEvent.VK_D) {
					player.direction = "E";
				}
				//UP PRESSED
				if (e.getKeyCode() == KeyEvent.VK_W || e.getKeyCode() == KeyEvent.VK_UP) {
					player.direction = "N";
				}
			}
			player.move();
		}