public shirt(shirtType myType, Image pic) { myImage = pic; this.myType = myType; picked = null; numWeeks = null; available = true; //This shirt is available del = false; //Don't delete }
public bool createShirt(shirtType type, Image pic) { try { shirt newShirt = new shirt(type, pic); shirtManager.getShirts.addShirt(newShirt); return(true); } catch (Exception) { return(false); } }