Example #1
0
        public IEnumerable <Status> EatFood()
        {
            if (Creature.Status.Hunger.IsSatisfied())
            {
                yield break;
            }

            foreach (Status status in Creature.EatStockedFood())
            {
                yield return(status);
            }
        }