| |
---|
| | |
---|
| | private String hint; |
---|
| | private String team; |
---|
| | private int max; |
---|
| | private List<Cell> openlist = new ArrayList<>(); |
---|
| | private List<Integer> openlist = new ArrayList<>(); |
---|
| | |
---|
| | //コンストラクタ |
---|
| | public TurnJson() { |
---|
| | } |
---|
| |
---|
| | public int getMax() { |
---|
| | return max; |
---|
| | } |
---|
| | |
---|
| | public List<Cell> getOpenListAll() {return openlist;} //リストそのものを返す。 |
---|
| | public List<Integer> getOpenListAll() {return openlist;} //リストそのものを返す。 |
---|
| | |
---|
| | //--------------------------------------------------------- |
---|
| | //セッター |
---|
| | |
---|
| |
---|
| | |
---|
| | //--------------------------------------------------------- |
---|
| | //openlist操作 |
---|
| | |
---|
| | public Cell getOpenListSolo(int num){return openlist.get(num);} |
---|
| | public Integer getOpenListSolo(int num){return openlist.get(num);} |
---|
| | |
---|
| | public void addOpenList(Cell card){openlist.add(card);} |
---|
| | public void addOpenList(Integer cno){openlist.add(cno);} |
---|
| | |
---|
| | public void delieteOpenList(int num){openlist.remove(num);} |
---|
| | |
---|
| | public int sizeOpenList(){return openlist.size();} |
---|
| | |