2 using System.Collections.Generic;
5 using DirectOutput.Cab.Toys.Layer;
6 using System.Xml.Serialization;
7 using DirectOutput.Cab.Toys;
8 using DirectOutput.General.Analog;
10 namespace DirectOutput.FX.AnalogToyFX
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];
99 public override void Finish()