Ejemplo n.º 1
0
        public void Move()
        {
            Point tail = pList.First();

            pList.Remove(tail);
            Point head = NextPoint();

            pList.Add(head);

            tail.Delete();
            head.Draw();
        }
Ejemplo n.º 2
0
        public void Move()
        {
            //Сначала удалим самую первую точку
            Point tail = pList[0];

            pList.Remove(tail);
            Point head = GetNextHead();

            pList.Add(head);

            tail.Delete();
            head.Draw();
        }