示例#1
0
    /// <summary>
    ///     Returns the positions of all tails used by this snake.
    /// </summary>
    public IEnumerable <Vector2> GetTailPositions()
    {
        var targetList = new List <Vector2>();

        _firstTail.GetTailPositions(targetList);
        return(targetList);
    }