From 5aee7b03e7ef1223f87050be8c7971304405751c Mon Sep 17 00:00:00 2001 From: Raphaelsav <94864277+Raphaelsav@users.noreply.github.com> Date: Wed, 10 Apr 2024 17:20:27 +0200 Subject: [PATCH] cell --- src/backend/Cell.java | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/src/backend/Cell.java b/src/backend/Cell.java index d6a157b..0986c56 100644 --- a/src/backend/Cell.java +++ b/src/backend/Cell.java @@ -1,21 +1,14 @@ package backend; public class Cell { - int x,y,val; + int val; private Simulator mySimu; - public Cell(int x, int y, int val) { - this.x = x; - this.y = y; + public Cell(int val) { this.val = val; } - public int getX() { - return x; - } - public int getY() { - return x; - } + public int getVal() { return val; }