Class Patty

    • Field Detail

      • halfCooked

        protected boolean halfCooked
    • Method Detail

      • setHalfCooked

        public void setHalfCooked()
      • getIsHalfCooked

        public boolean getIsHalfCooked()
      • getTexture

        public com.badlogic.gdx.graphics.Texture getTexture()
        Get the texture based on whether the patty has been cooked.
        Overrides:
        getTexture in class Ingredient
        Returns:
        the texture to display.