Permalink
Cannot retrieve contributors at this time
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
25 lines (24 sloc)
722 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace BuzzIO | |
{ | |
/// <summary> | |
/// Arguments for button changed event | |
/// </summary> | |
public class BuzzButtonChangedEventArgs : EventArgs | |
{ | |
/// <summary>Current states of the buttons</summary> | |
public readonly ButtonStates[] Buttons; | |
/// <summary> | |
/// Constructor | |
/// </summary> | |
/// <param name="arrStates">State of the buttons</param> | |
public BuzzButtonChangedEventArgs(ButtonStates[] arrStates) | |
{ | |
Buttons = arrStates; | |
} | |
} | |
/// <summary> | |
/// Delegate for button event | |
/// </summary> | |
public delegate void BuzzButtonChangedEventHandler(object sender, BuzzButtonChangedEventArgs args); | |
} |