aboutsummaryrefslogtreecommitdiff
path: root/structure/Grid.java
diff options
context:
space:
mode:
authormanzerbredes <loic.guegan_secondary@yahoo.fr>2016-03-21 13:06:19 +0100
committermanzerbredes <loic.guegan_secondary@yahoo.fr>2016-03-21 13:06:19 +0100
commitc129af5142aa1e92501fd3ce8e20b10da47f1a8f (patch)
treec5869ca936a3c63cc8cf81301e0d420bfe68210f /structure/Grid.java
parent279586d5e7062c098ce4e02dbc7c4555048781e6 (diff)
Add image
Diffstat (limited to 'structure/Grid.java')
-rw-r--r--structure/Grid.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/structure/Grid.java b/structure/Grid.java
index 35c82f0..eb76638 100644
--- a/structure/Grid.java
+++ b/structure/Grid.java
@@ -1,8 +1,6 @@
package structure;
-import java.util.ArrayList;
-import java.util.HashMap;
-import java.util.Random;
+import java.util.*;
public class Grid {
@@ -13,7 +11,7 @@ public class Grid {
private Random rand = new Random();
- private static final int maxWeight=100;
+ private final int maxWeight=100;
/**
* Build a 3x3 Grid