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