using Chernobyl.StateMachine;
namespace Chernobyl
{
///
/// A basic implementation of .
///
public class Enableable : IEnableable
{
///
/// Initializes a new instance of the class.
///
public Enableable()
{
Enabled = new State();
}
///
/// Active if the functionality of the object is enabled, inactive if
/// otherwise.
///
public IState Enabled { get; private set; }
}
}