internal void Move() { Point tail = ListP.First(); ListP.Remove(tail); Point head = GetNextPoint(); ListP.Add(head); tail.Clear(); head.Draw(); }
internal bool Eat(Point food) { Point head = GetNextPoint(); if (head.IsHit(food)) { food.sym = head.sym; ListP.Add(food); return(true); } else { return(false); } }