using System;
using Syntriax.Modules.ToggleState;
namespace Syntriax.Modules.Trigger
{
public interface ITrigger
{
///
/// Member to switch on or off
///
IToggleState ToggleStateMember { get; }
///
/// Called everytime the IsTrigerred field is changed
///
/// The new value of IsTrigerred
Action OnTriggerStateChanged { get; set; }
bool IsTrigerred { get; }
}
}