Beispiel #1
0
        public bool Eat(Point food)
        {
            Point head = NextPoint();

            if (head.EqualityCoordinates(food))
            {
                food.symbl = head.symbl;
                food.Draw();
                pList.Add(food);
                return(true);
            }
            else
            {
                return(false);
            }
        }