From a81638263a4a9943ac021449094ce3652a70fc41 Mon Sep 17 00:00:00 2001 From: Cyprien111 <105004796+Cyprien111@users.noreply.github.com> Date: Mon, 31 Mar 2025 08:40:14 +0200 Subject: [PATCH] get cell --- src/Human.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Human.java b/src/Human.java index c123f0d..2e63a3c 100644 --- a/src/Human.java +++ b/src/Human.java @@ -1,6 +1,5 @@ import java.io.Console; -import java.util.List; public class Human extends Player{ @@ -50,7 +49,7 @@ public class Human extends Player{ while(!pass); - pass =board.getCell(x,y).isPlayable(); + pass =board.get(x,y).isPlayable(); if(!pass) { System.out.println("Cette case n'est pas jouable !");