From 685313dc254f7e7644a2a8847d941384901ce6a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20GUEZO?= Date: Mon, 27 Oct 2025 17:50:57 +0100 Subject: [PATCH] feat(Map.java): init la class Map --- src/Map.java | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/Map.java diff --git a/src/Map.java b/src/Map.java new file mode 100644 index 0000000..0822ff2 --- /dev/null +++ b/src/Map.java @@ -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]; + } +}