public GamePanel() {
		/**
		 * Declare a KeyListener interface to try the keyboard events when we
		 * press any key.
		 */
		KeyListener n = new KeyListener() {

			/**
			 * This method works when we press any key.
			 */
			@Override
			public void keyPressed(KeyEvent e) {
				// TODO Auto-generated method stub
				System.out.println(e.getKeyCode()); // Show in command-line
													// which key-code are
													// pressed

				if (e.getKeyCode() == e.VK_RIGHT) { // --> | If we press the
													// right key, the player
													// look to the right and
													// walk in that direction
					player.setDirection(Direction.RIGHT);
					player.walk();

				} else if (e.getKeyCode() == e.VK_LEFT) { // <-- |If we press
															// the left key, the
															// player look to
															// the left and walk
															// in that direction
					player.setDirection(Direction.LEFT);
					player.walk();

				} else if (e.getKeyCode() == e.VK_UP) { // ^ | If we press the
														// up key, the player
														// jump
					player.fall();

				} else if (e.getKeyCode() == e.VK_DOWN) { // V | If we press the
															// down key and the
															// player is huge,
															// the player to
															// duck. Else
															// anything.
					player.toDuck();
				} else if (e.getKeyCode() == e.VK_SPACE){
					player.digiEvolution();
					
				}
			}

			/**
			 * This method works when we release any key. For example, we press
			 * left key and the player walk to the left, when we released the
			 * key the player MUST stop.
			 */
			@Override
			public void keyReleased(KeyEvent e) {

				// TODO Auto-generated method stub
				System.out.println(e.getKeyCode()); // Show in command-line
													// which key-code are
													// pressed

				if (e.getKeyCode() == e.VK_RIGHT) { // --> | If we release the
													// right key, the player
													// stop
					player.stop();

				} else if (e.getKeyCode() == e.VK_LEFT) { // <-- |If we release
															// the left key, the
															// player stop
					player.stop();

				} else if (e.getKeyCode() == e.VK_UP) { // ^ | If we release the
														// up key, the player
														// stop
					player.stop();

				} else if (e.getKeyCode() == e.VK_DOWN) { // V | If we release
															// the down key, the
															// player stop
					player.stop();

				}

			}

			/**
			 * This method works if we want do something when we press a
			 * combination of two keys.
			 */
			@Override
			public void keyTyped(KeyEvent e) {
				// TODO Auto-generated method stub

			}

		};
		this.addKeyListener(n); // We must add to the panel the KeyListener
		this.setFocusable(true); // Always we must put this method true.
		
	}