public void ShouldConstructWithCorrectTypeAndColors() { const BreathingType Type = BreathingType.Two; var first = Color.Red; var second = Color.Blue; var effect = new Breathing(Type, first, second); Assert.AreEqual(Type, effect.Type); Assert.AreEqual(first, effect.First); Assert.AreEqual(second, effect.Second); }
/// <summary> /// Sets a <see cref="Breathing" /> effect on the keypad. /// </summary> /// <param name="effect">An instance of the <see cref="Breathing" /> struct.</param> public void SetBreathing(Breathing effect) { SetGuid(NativeWrapper.CreateKeypadEffect(effect)); }
public void Set(Breathing effect) { SetBreathing(effect); }