bUp.setFocusable(false);
bDown.setFocusable(false);
help.setFocusable(false);
// Instantiate the listeners.
bLeft.addActionListener(new ButtonMovementListener(ButtonMovementListener.Direction.gauche, labyrinth, bob));
bRight.addActionListener(new ButtonMovementListener(ButtonMovementListener.Direction.droite, labyrinth, bob));
bUp.addActionListener(new ButtonMovementListener(ButtonMovementListener.Direction.haut, labyrinth, bob));
bDown.addActionListener(new ButtonMovementListener(ButtonMovementListener.Direction.bas, labyrinth, bob));
help.addActionListener(new ButtonHintListener(this));
// Infos on player.
life = new JLabel(bob.getLife() + "%");
add(life);