WIP
DirectOutput framework for virtual pinball cabinets WIP
Go to:
Overview 
ValueInvertEffect.cs
Go to the documentation of this file.
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using System.Text;
5 
6 namespace DirectOutput.FX.ValueFX
7 {
12  {
17  public override void Trigger(Table.TableElementData TableElementData)
18  {
19  TableElementData.Value = 255 - TableElementData.Value;
20  TriggerTargetEffect(TableElementData);
21 
22  }
23  }
24 }
override void Trigger(Table.TableElementData TableElementData)
Triggers the effect with the given TableElementData.
Base class for effects targeting another effect.
Inverts the trigger value of the effect before the target effect is called (e.g. 0 becomes 255...