package src;

import java.io.IOException;

import src.gui.Dots;
import src.gui.Menu;

public class Main
{
	private static double height, width;
	private static int[][] dotCoords;
	private static boolean multiple;

	public static void updateMenuVars(
		double height,
		double width,
		boolean multiple
	) {
		Main.height = height;
		Main.width = width;
		Main.multiple = multiple;
	}

	public static void updateDotsVars(int[][] dotCoords)
	{
		Main.dotCoords = dotCoords;
	}

	public static void main(String[] args) throws IOException
	{
		Menu menu = new Menu();
		menu.setVisible(true);
		Dots dots = new Dots();
		dots.setVisible(true);
	}
}

@@ -77,16 +77,38 @@
 ui.Menu;
+%0Aimport src.algo.Algo;
 %0A%0Apublic
@@ -487,16 +487,40 @@
 Coords;%0A
+%09%09Algo.algo(dotCoords);%0A
 %09%7D%0A%0A%09pub

call algo