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