protected virtual void Update() { if (null != operater && !operater.IsActionRunning(m_ActionType)) { operation.StopOperate(operater, m_Mask); } }
public override bool IsIdle() { if (null == Operator) { return(true); } int idx = Array.IndexOf(pairOperationTypes, GetOperateMask()); if (idx >= 0) { if (!m_Operator.IsActionRunning(pairActionTypes[idx])) { m_Operator = null; return(true); } } return(false); }
public override bool UnDo(IOperator oper) { oper.EndAction(PEActionType.Operation); return(!oper.IsActionRunning(PEActionType.Operation)); }