2 using System.Collections.Generic;
6 using System.Xml.Serialization;
22 private string _ToyName;
33 get {
return _ToyName; }
36 if (_ToyName != value)
47 private int _LayerNr = 0;
57 get {
return _LayerNr; }
58 set { _LayerNr = value; }
71 private void ResolveName(Table.Table Table)
81 public override void Init(Table.Table Table)
83 if (!ToyName.IsNullOrWhiteSpace() && Table.Pinball.Cabinet.Toys.Contains(ToyName))
87 Toy = (IAnalogAlphaToy)Table.Pinball.Cabinet.Toys[ToyName];
88 Layer = Toy.Layers[LayerNr];
The namespace DirectOutput.Cab.Toys contains all toy related classes.
Common interface for toys supporting analog alpha layers.
Object containing a analog value (0-255) and a alpha value (0-255).
Table.Table Table
The table which contains the effect.
Abstract base class for IEffect objects. This class inherits NamedItemBase and implements IEffect...
The namespace DirectOutput.Cab contains all cabinet related classes like the Cabinet class itself...
Base class for effects controlling a single AnalogToy object.
Namespace for objects dealing with layers
override void Finish()
Finish does all necessary cleanupwork before the effect is discarded.
override void Init(Table.Table Table)
Initializes the effect.
The namespace DirectOutput.General contains classes for general use.