From 40501a27b012ff43b208021f2b15523ff5c68f86 Mon Sep 17 00:00:00 2001 From: Julius Dewender Date: Sun, 31 Jan 2021 11:42:33 +0100 Subject: [PATCH] removed magic numbers --- fh.fd.ci.client/src/main/java/de/fd/fh/Game.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fh.fd.ci.client/src/main/java/de/fd/fh/Game.java b/fh.fd.ci.client/src/main/java/de/fd/fh/Game.java index 5aa4ad8..5a0aa5e 100644 --- a/fh.fd.ci.client/src/main/java/de/fd/fh/Game.java +++ b/fh.fd.ci.client/src/main/java/de/fd/fh/Game.java @@ -6,6 +6,6 @@ public class Game public void initNewGame() { - mField = new Figure[64]; + mField = new Figure[Figure.fieldLength * Figure.fieldLength]; } }