Skip to content
Snippets Groups Projects
Commit 45a1e5e8 authored by SAIDI Hatim's avatar SAIDI Hatim
Browse files

test

parent 520107c1
No related branches found
No related tags found
No related merge requests found
......@@ -4,10 +4,12 @@ import model.Cell;
import model.ColorGenerator;
import java.awt.*;
import java.util.ArrayList;
import java.util.List;
import javafx.scene.paint.Color;
public class CyclicColorGenerator implements ColorGenerator {
private List<Color> colors;
private List<Color> colors ;
......@@ -16,6 +18,7 @@ public class CyclicColorGenerator implements ColorGenerator {
}
public Color nextColor(Cell cell){
return colors.get(0);
Color color= colors.get(0);
return color;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment