Prepared grid config logic
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
package com.bernard.nodecames.model;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Optional;
|
||||
|
||||
@@ -30,9 +29,7 @@ public class Grid {
|
||||
Phase phase;
|
||||
Optional<Boolean> won;
|
||||
|
||||
public Grid(String name, Card[] cards) {
|
||||
this(name, cards, new ArrayList<>(), null, 0, 0, 0, Phase.bothHinting(), Optional.empty());
|
||||
}
|
||||
GridConfig config;
|
||||
|
||||
public void incrementHintCount() {
|
||||
this.setUsedHints(this.getUsedHints()+1);
|
||||
|
||||
Reference in New Issue
Block a user