public void MoveBody(SnakeHead head) { snakeBodyX.Dequeue(); snakeBodyX.Enqueue(head.GetSnakeHeadX()); snakeBodyY.Dequeue(); snakeBodyY.Enqueue(head.GetSnakeHeadY()); }
public void IncreaseBody(SnakeHead head) { snakeBodyX.Enqueue(head.GetSnakeHeadX()); snakeBodyY.Enqueue(head.GetSnakeHeadX()); }