/**
 * Class for a overweight lasagna eating orange cat.
 *
 * The cat lives with his Owner Jon Arbuckle and a little dog named Odie.
 * Its favourite food is lasagna.
 *
 * @author Jim Davis
 * @version 1.0
 */
public class FatOrangeCat {
    /**
     * The last meal the cat ate.
     */
    private String lastMeal;

    /**
     * True if the cat had too much lasagna, false otherwise.
     */
    private boolean lasagnaOverkill;

    /**
     * Lets the cat eat a specific food.
     *
     * @param food Food to eat.
     */
    public void eat(String food) {
        lastMeal = food;
    }

    /**
     * Lets the cat eat its favourite food.
     */
    public void eat() {
        lastMeal = "Lasagna";
    }

    /**
     * Determines whether the cat is alive or not.
     *
     * @return  True if the cat is alive,
     *          false if it's dead,
     *          tralse if it's Schrödingers cat.
     */
    public boolean isAlive() {
        return !lasagnaOverkill;
    }
}
