public void FadesKnobsThatAreNotGrabbed() { knobA.Grab(); knobs.OnKnobStateChange(); Assert.True(knobB.Faded); Assert.True(knobC.Faded); Assert.False(knobA.Faded); }
public void Grab() { HandlingState = KnobHandlingState.Grabbed; knobs.OnKnobStateChange(); UpdateColor(); }