/** * This class holds all the attributes (variables) and methods for creating and cooking a cookie * * @author Hunter Lloyd * @version 1.0 */ public class Cookie { private int chips; private boolean baked; public Cookie(int c) { chips = c; baked = false; } public void cook() { baked = true; } public int returnChips() { return chips; } }