@Override
	public void keyPressed(KeyEvent e) {
		
		int id = e.getKeyCode();		//KeyCode des KeyEvents auslesen
		
		// Mittels KeyEvent prüfen, was für eine Taste gedrückt wurde, Wahrheitswert setzen
		switch (id) {
			case (KeyEvent.VK_W):
				if(!CollideTop) {
					figUp = true;
				}
				break;
			case (KeyEvent.VK_A):
				if(!CollideLeft) {
					figLeft = true;
				}
				break;
			case (KeyEvent.VK_S):
				if(!CollideBottom) {
					figDown = true;
				}
				break;
			case (KeyEvent.VK_D):
				if(!CollideRight) {
					figRight = true;
				}
				break;
		}

	}