private static Clothing[] initializeSocks() { Clothing[] clothing = new Clothing[(int)Enum.GetNames(typeof(SOCKS_ENUM)).Length]; createClothing(clothing, "Pink Socks", Properties.Resources.socks_pink, (int)TYPESOFCLOTHING.SOCKS, (int)SOCKS_ENUM.PINK); return(clothing); }
private static void createClothing(Clothing[] tempArray, Clothing clothing, int typeOfClothingEnumNumber, int individualItemEnumNumber) { createClothing(tempArray, clothing.Name, clothing.Image, typeOfClothingEnumNumber, individualItemEnumNumber, clothing.Score); }
private static Clothing[] initializeShoes() { Clothing[] clothing = new Clothing[(int)Enum.GetNames(typeof(SHOES_ENUM)).Length]; createClothing(clothing, "Brown Clogs", Properties.Resources.shoes_clogs_brown, (int)TYPESOFCLOTHING.SHOES, (int)SHOES_ENUM.CLOGS_BROWN); return(clothing); }