public Image getImage(Arrow a) { if (a.getDirection() == GAUCHE) { return liste.get(a.getActualFrame() - 1); } else if (a.getDirection() == DROITE) { return liste.get(a.getActualFrame() + frames - 1); } else if (a.getDirection() == HAUT) { return liste.get(a.getActualFrame() + 2 * frames - 1); } else { return liste.get(a.getActualFrame() + 3 * frames - 1); } }