public AutomaticFishingAction(int[] scan1, int[] scan2, byte[] bubbleColorRgb, byte[] toleranceRgb) { spotData = new FishingSpotData( new Coordinates(scan1[0], scan1[1]), new Coordinates(scan2[0], scan2[1]), new ScreenshotColor(bubbleColorRgb[0], bubbleColorRgb[1], bubbleColorRgb[2]), new Tolerance(toleranceRgb[0], toleranceRgb[1], toleranceRgb[2])); }
public AutomaticFishingAction(int[] scan1, int[] scan2, byte[] bubbleColorRgb, byte[] toleranceRgb) { this.spotData = new FishingSpotData( new Coordinates(scan1[0], scan1[1]), new Coordinates(scan2[0], scan2[1]), new ScreenshotColor(bubbleColorRgb[0], bubbleColorRgb[1], bubbleColorRgb[2]), new Tolerance(toleranceRgb[0], toleranceRgb[1], toleranceRgb[2])); }