WIP
DirectOutput framework for virtual pinball cabinets WIP
Go to:
Overview 
ToyBase.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.Xml.Serialization;
7 
8 namespace DirectOutput.Cab.Toys
9 {
10 
14  public abstract class ToyBase : NamedItemBase, IToy
15  {
21  public abstract void Init(Cabinet Cabinet);
22 
23 
28  public abstract void Reset();
29 
34  public virtual void Finish() { Reset(); }
35 
36 
37 
38  }
39 }
The Cabinet object describes the parts of a pinball cabinet (toys, outputcontrollers, outputs and more).
Definition: Cabinet.cs:17
Abstract base class for named items. Implements the name property and the necessary events...
Common interface for all toy implementations. The abstract class ToyBase implements this interface...
Definition: IToy.cs:9
virtual void Finish()
Must finish the IToy, do all necessary clean up work and reset to IToy to its default state (off)...
Definition: ToyBase.cs:34
Base class for IToy implementations
Definition: ToyBase.cs:14
The namespace DirectOutput.General contains classes for general use.