namespace ColdMint.scripts.stateMachine;
///
/// IStateProcessor
/// 状态处理器
///
public interface IStateProcessor
{
///
/// Enter the current state
/// 进入当前状态时
///
///
void Enter(StateContext context);
///
/// Execution processor
/// 执行处理器
///
///
void Execute(StateContext context);
///
/// When exiting a state
/// 退出某个状态时
///
///
void Exit(StateContext context);
///
/// Gets the state to be processed by this processor
/// 获取此处理器要处理的状态
///
State State { get; }
}