Beispiel #1
0
        internal bool Eat(Point food)
        {
            Point head = GetNextPoint();

            if (head.IsHit(food))
            {
                food.Change(head);
                pline.Add(head);
                return(true);
            }
            return(false);
        }