public void processInput(Deque<KeyEvent> events) {
		
		int eventNumber = events.size();

		for (int i = 0; i < eventNumber; i++) {
			KeyEvent event = events.pollFirst();
			Point direction = keyMapping.get(event.getKeyCode());
			if (direction != null) {
				schlange.setDirection(direction);
			}
		}
	}