diff --git a/src/main/java/com/ntlab/irisserver/entities/Turn.java b/src/main/java/com/ntlab/irisserver/entities/Turn.java index 015c51c..63bd815 100644 --- a/src/main/java/com/ntlab/irisserver/entities/Turn.java +++ b/src/main/java/com/ntlab/irisserver/entities/Turn.java @@ -23,7 +23,7 @@ @JsonProperty("gamestate") private int endstate;//0:game継続, 1:game終了 - private Boolean questions[] = new Boolean[16];//> + private Boolean[] questions = new Boolean[16] ;//> private List openlist = new ArrayList<>(); @@ -33,6 +33,8 @@ max = -1; turnstate = 0; endstate = 0; + int i; + for(i = 0; i < 16; i++)questions[i] = false; } //---------------------------------------------------------