WIP
DirectOutput framework for virtual pinball cabinets WIP
Go to:
Overview 
EffectBase.cs
Go to the documentation of this file.
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using System.Text;
6 using DirectOutput.Table;
7 
8 namespace DirectOutput.FX
9 {
10 
15  public abstract class EffectBase : NamedItemBase,IEffect
16  {
17 
18 
23  public abstract void Trigger(TableElementData TableElementData);
24 
25 
30  public abstract void Init(Table.Table Table);
31 
32 
36  public virtual void Finish() {}
37 
38 
39  }
40 }
Abstract base class for named items. Implements the name property and the necessary events...
Abstract base class for IEffect objects. This class inherits NamedItemBase and implements IEffect...
Definition: EffectBase.cs:15
Common interface for all effects. If a new effect is implemented it is best to inherit from the abst...
Definition: IEffect.cs:13
Data representing the state of a table emlement
The Table namespace contains all table specific classes like the Table class itself, TableElement and effect assigment classes.
Definition: Table.cs:14
Holds all table specific information and handles all TableElements
Definition: Table.cs:20
Table()
Initializes a new instance of the Table class.
Definition: Table.cs:388
The namespace DirectOutput.General contains classes for general use.
virtual void Finish()
Finish does all necessary cleanupwork before the object is discarded.
Definition: EffectBase.cs:36