Files
artloglaby/java/org/artisanlogiciel/games/maze/gui/MazeColorMap.java
philippe lhardy 02fda1fc2e refactoring, deploy Position and XYGridIterator
- try to use more Position instead of (x,y)
  - create PositionWithDpeth for its specific usage in path finding
- create a XYGridITerator that walk cells from grid X then Y.
2020-12-28 20:05:10 +01:00

20 lines
493 B
Java

package org.artisanlogiciel.games.maze.gui;
import java.awt.*;
public class MazeColorMap {
public Color background;
public Color wall;
public Color path;
public Color resolved_path;
public Color goal;
public MazeColorMap(Color background, Color wall, Color path, Color resolved_path, Color goal) {
this.background = background;
this.wall = wall;
this.path = path;
this.resolved_path = resolved_path;
this.goal = goal;
}
}