From 214eaffeeecc6688a2c10e5c5940e112eb3a012a Mon Sep 17 00:00:00 2001 From: g le-chartier Date: Mon, 29 Apr 2024 16:32:07 +0200 Subject: [PATCH] Removed density from Cell --- src/backend/Cell.java | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/src/backend/Cell.java b/src/backend/Cell.java index c6a9a33..73a136f 100644 --- a/src/backend/Cell.java +++ b/src/backend/Cell.java @@ -2,27 +2,22 @@ package backend; public class Cell { private int value; - private int density; - public Cell(int value, int density) { + + public Cell(int value) { this.value = value; - this.density = density; } public int getValue() { return value; } - public int getDensity() { - return density; - } + public void setValue(int value) { this.value = value; } - public void setDensity(int density){ - this.density = density; - } + }