feat(Map.java): init la class Map

This commit is contained in:
2025-10-27 17:50:57 +01:00
parent 760e338b48
commit 685313dc25

19
src/Map.java Normal file
View File

@@ -0,0 +1,19 @@
import java.awt.Point;
public class Map {
private Circuit[][] map;
private Point[] pathMap;
public Map(Circuit[][] map) {
this.map = map;
this.buildPath();
}
private boolean buildPath() {
return false;
}
public Circuit getElement(int x, int y) {
return map[y][x];
}
}