public void pathCalculation() {
AlgorithmFactory algorithmFactory =
Factories.createFactory(currAlgorithm);
Algorithm algorithm =
algorithmFactory.getAlgorithm(colorSquareArr);
algorithm.calculate();
pathCoordArr = algorithm.getPath();
}
public void makeWaveAlgCurrent() {
currAlgorithm = WAVE_ALG;