public static void ActionCombineSquads(this Queue <IMoveAction> moveActions, List <Squad> squadList, Squad squadAlfa, Squad squadDelta, IdGenerator idGenerator, bool disableOld = true) { moveActions.ActionSelectSquad(squadAlfa.Id); moveActions.ActionAddSquadToCurrentSelection(squadDelta.Id); var newSquad = moveActions.ActionCreateNewSquadAlreadySelected(squadList, idGenerator); if (disableOld) { squadAlfa.Disable(); squadDelta.Disable(); } else { newSquad.Disable(); } }