/**
  * delete move and corresponding ship from database
  *
  * @param $id_move
  * @throws ControllerException
  * @throws NullPointerException
  */
 public function deleteMove($id_move)
 {
     // 1. check if it is a setship move from the active player
     $move = ModelSetShipsMove::getSetShipsMove($this->id_game, $id_move);
     if ($move->getIdUser() !== $this->id_user) {
         throw new ControllerException('Unable to delete move from another player.');
     }
     // 2. delete
     ModelSetShipsMove::deleteSetShipsMove($move);
 }