2 using System.Collections.Generic;
5 using System.Xml.Serialization;
27 get {
return _RetriggerBehaviour; }
28 set { _RetriggerBehaviour = value; }
31 private int _DurationMs = 500;
39 public int MaxDurationMs
41 get {
return _DurationMs; }
42 set { _DurationMs = value.Limit(1,
int.MaxValue); }
54 public bool Active {
get;
private set; }
57 private DateTime DurationStart = DateTime.MinValue;
73 UntriggerData.
Value = 0;
93 private void DurationEnd()
95 TriggerTargetEffect(UntriggerData);
Pinball Pinball
Gets the pinball object to which the Table object belongs.
TableElementTypeEnum TableElementType
The type of the table element.
override void Trigger(Table.TableElementData TableElementData)
Triggers the effect with the given TableElementData.
int Number
The number of the table element.
Limits the max duration of the effect to the specified number of milliseconds.
int Value
The value of the table element.
AlarmHandler Alarms
Gets the AlarmHandler object for the Pinball object.
RetriggerBehaviourEnum
This enum describes the different retrigger behaviours for the effects. Retriggering means that a ef...
Data representing the state of a table emlement
Base class for effects targeting another effect.
The Table namespace contains all table specific classes like the Table class itself, TableElement and effect assigment classes.
Holds all table specific information and handles all TableElements