From 48a1a068a18714543066172898e2561dfd6c4ffc Mon Sep 17 00:00:00 2001 From: arnaudlabourel <arnaud.labourel@univ-amu.fr> Date: Wed, 29 Sep 2021 07:21:48 +0200 Subject: [PATCH] =?UTF-8?q?Changement=20visibilit=C3=A9=20des=20m=C3=A9tho?= =?UTF-8?q?des=20de=20Grid=20pour=20faciliter=20les=20tests?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/model/Grid.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/model/Grid.java b/src/main/java/model/Grid.java index a773b4e..e7d9752 100644 --- a/src/main/java/model/Grid.java +++ b/src/main/java/model/Grid.java @@ -131,7 +131,7 @@ public class Grid implements Iterable<Cell> { * </ul> */ // TODO: Écrire une version correcte de cette méthode. - void updateToNextGeneration() { + public void updateToNextGeneration() { } @@ -139,7 +139,7 @@ public class Grid implements Iterable<Cell> { * Sets all {@link Cell}s in this {@code Grid} as dead. */ // TODO: Écrire une version correcte de cette méthode. - void clear() { + public void clear() { } @@ -150,7 +150,7 @@ public class Grid implements Iterable<Cell> { * @throws NullPointerException if {@code random} is {@code null}. */ // TODO: Écrire une version correcte de cette méthode. - void randomGeneration(Random random) { + public void randomGeneration(Random random) { } } -- GitLab