示例#1
0
    //--------------------------------------------------------------------------------------------------------------------------
    // Feedback Methods

    #region Feedback

    /// <summary> Verify if this SenseGlove has a particular functionality (buzz motors, haptic feedback, etc) </summary>
    /// <param name="function">The function to test for</param>
    /// <returns></returns>
    public bool HasFunction(GloveFunctions function)
    {
        if (this.linkedGlove != null)
        {
            return(linkedGlove.HasFunction(function));
        }
        return(false);
    }