Пример #1
0
    public void FadesKnobsThatAreNotGrabbed()
    {
        knobA.Grab();

        knobs.OnKnobStateChange();

        Assert.True(knobB.Faded);
        Assert.True(knobC.Faded);
        Assert.False(knobA.Faded);
    }
Пример #2
0
 public void Grab()
 {
     HandlingState = KnobHandlingState.Grabbed;
     knobs.OnKnobStateChange();
     UpdateColor();
 }