diff --git a/app/src/main/java/org/ntlab/irisclient/entities/TurnJson.java b/app/src/main/java/org/ntlab/irisclient/entities/TurnJson.java index d748aa4..d96fc70 100644 --- a/app/src/main/java/org/ntlab/irisclient/entities/TurnJson.java +++ b/app/src/main/java/org/ntlab/irisclient/entities/TurnJson.java @@ -1,4 +1,60 @@ package org.ntlab.irisclient.entities; +import java.util.ArrayList; +import java.util.List; + public class TurnJson { + + private String hint; + private String team; + private int max; + //private List openlist = new ArrayList<>(); + + //コンストラクタ + public TurnJson() { + } + + //--------------------------------------------------------- + //ゲッター + + public String getHint() { + return hint; + } + + public String getTeam() { + return team; + } + + public int getMax() { + return max; + } + + //public List getOpenListAll() {return openlist;} //リストそのものを返す。 + + //--------------------------------------------------------- + //セッター + + public void setHint(String hint) { + this.hint = hint; + } + + public void setTeam(String team) { + this.team = team; + } + + public void setMax(int max) { + this.max = max; + } + + //--------------------------------------------------------- + //openlist操作 +/* + public Cell getOpenListSolo(int num){return openlist.get(num);} + + public void addOpenList(Cell card){openlist.add(card);} + + public void delieteOpenList(int num){openlist.remove(num);} + + public int sizeOpenList(){return openlist.size();} +*/ }