@Override
public InventoryMode EnterRequest() {
final Fighter fighter = fighterListModel.get(currentFighter);
final boolean utilisable = (currentObjet.getUse() == Utilization.OUTSIDE_BATTLE || currentObjet.getUse() == Utilization.TWICE);
if (currentObjet != null && utilisable) {
final ObjetController objetController = new ObjetController(currentObjet, null);
if (currentObjet.getTarget() == Target.ALLY || currentObjet.getTarget() == Target.ENEMY) {
fighter.useObjet(currentObjet);
objetController.castObjet(fighter);
}else {
fighter.useObjet(currentObjet);
objetController.castObjet(fighterListModel);
}
}
resetList();
return InventoryMode.SAME;