public void updateCommand(int drone, CommandsTakeOffLandingEnum takeoffLandingSet) {
   switch (drone) {
     case 1:
       if (commandsLeft != null) commandsLeft.updateCommand(takeoffLandingSet);
       break;
     case -1:
       if (commandsRight != null) commandsRight.updateCommand(takeoffLandingSet);
       break;
   }
 }
 public void updateCommand(CommandsTakeOffLandingEnum takeoffLandingSet) {
   if (commandsLeft != null) commandsLeft.updateCommand(takeoffLandingSet);
   if (commandsRight != null) commandsRight.updateCommand(takeoffLandingSet);
 }