public bool Eat(Point food) { Point head = pList.Last(); if (food.Equals(head)) { food.FoodToSnake(food); pList.Add(food); Draw(); return(true); } return(false); }
public bool Eat(Point food) { Point head = pList.Last(); if (food.Equals(head)) { food.FoodToSnake(food); pList.Add(food); Draw(); return(true); } return(false); }