package domain; import domain.sheets.*; import java.util.HashMap; public class Sheet { private String[] usedRows; private String[] canceledRows; private String[] emptyRows; // Sheet rows, first half Aces aces; Twos twos; Threes threes; Fours fours; Fives fives; Sixes sixes; // Sheet rows, second half int three_of_kind; int four_of_kind; int full_house; int small_straight; int large_straight; int chance; public Sheet(){ this.aces = new Aces(); this.twos = new Twos(); this.threes = new Threes(); this.fours = new Fours(); this.fives = new Fives(); this.sixes = new Sixes(); } public HashMap getAllCategories(){ HashMap allCategories = new HashMap<>(); allCategories.put("Aces", aces); allCategories.put("Twos", twos); allCategories.put("Threes", threes); allCategories.put("Fours", fours); allCategories.put("Fives", fives); allCategories.put("Sixes", sixes); return allCategories; } }