WIP
DirectOutput framework for virtual pinball cabinets WIP
Go to:
Overview 
AssignedEffectList.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 using System.Collections;
7 using DirectOutput.Table;
8 namespace DirectOutput.FX
9 {
13  public class AssignedEffectList : ExtList<AssignedEffect>
14  {
15 
20  public void Add(string EffectName)
21  {
22  Add(new AssignedEffect(EffectName));
23  }
24 
30  {
31  foreach (AssignedEffect TEE in this)
32  {
34  }
35  }
36 
37 
42  public void Init(Table.Table Table)
43  {
44  foreach (AssignedEffect TEE in this)
45  {
46  TEE.Init(Table);
47  }
48  }
49 
50 
54  public void Finish()
55  {
56  foreach (AssignedEffect TEE in this)
57  {
58  TEE.Finish();
59  }
60  }
61 
62 
63 
64 
69  {
70  }
71 
72 
73 
74 
75 
76 
77  }
78 }
void Init(Table.Table Table)
Initializes the AssignedEffect.
void Init(Table.Table Table)
Initializes the AssignedEffect objects in the list.
void Finish()
Finishes this instance of the AssignedEffect object.
void Trigger(TableElementData TableElementData)
Triggers all AssignedEffect objects in the list.
AssignedEffectList()
Initializes a new instance of the class.
Data representing the state of a table emlement
void Finish()
Fnishes the AssignedEffect objects in the list.
void Add(string EffectName)
Adds the specified effect to the list.
The Table namespace contains all table specific classes like the Table class itself, TableElement and effect assigment classes.
Definition: Table.cs:14
void Trigger(TableElementData TableElementData)
Triggers the assigned Effect.
Holds all table specific information and handles all TableElements
Definition: Table.cs:20
Extended version of the generic List class supporting events for various actions on the list...
Definition: ExtList.cs:11
Table()
Initializes a new instance of the Table class.
Definition: Table.cs:388
The namespace DirectOutput.General contains classes for general use.
List of effects which are assigned to some other object.
Handles the assignemt of a effect to a AssignedEffectList.